I've been asked to locate files created 80 days ago and calculate the space they occupy, for a few different filesystems, which is normally easy to do with the "find" command, such as:
# find . -mtime +80 -exec du -ks {} \; | cut -f1 | awk '{total=total+$1}END{print total/1024}'
But, in this...
We recently did a clean install of Oracle Solaris 11 on our older x4540 THOR/thumper system. The purpose of which is to export a large iSCSI LUN for emergency use.
Following the instructions on:
http://docs.oracle.com/cd/E23824_01/html/821-1459/fnnop.html
I was able to create the zpool with...
I've set up OpenLDAP 2.4 (CentOS 6) and SSSD. I'm able to authenticate regular users -- I imported the LDIF using {CRYPT}password.
However, I established a "role" account for general auth reads and it won't work. ldapsearch is not working for anything other than Manager, regardless -- of...
Where I work, we primarily use Linux systems and Nagios to monitor them. The way we monitor via Nagios for NFS mounts on a client system will not work with OSX (/proc, /etc/mnttab, etc). I admit my OSX tech skills are not yet up to par, but we do have a couple of these that are in production...
We have a remote mount point that we are copying files to. Presently, with a single instance of rsync. The file tree has 100s of files -- what I'm trying to figure out is how to split that entire job up and use, for example, three connections to maximize our bandwidth and perhaps get the...
I'm new-ish to kickstart. I've been spending some time trolling through docs on the Internet and I can't seem to find a reliable example of how to configure the network interfaces (plural) in a %post script.
Seems that RH deprecates things in anaconda (bootproto, asknetwork), and those options...
We are using the stock samba (/usr/sbin/smbd) that comes with Solaris 10 for a basic network share, which works. I was working on adding a user, the /etc/sfw/samba/private directory has *.tdb files that get updated, but smbclient will not authenticate.
Turns out, it appears that it's...
We had an issue recently where our NAS needed to be powered down for some building maintenance, a couple client machines had some problems.
Long story short, a couple of Hadoop servers that use a backend, point-to-point interface to the NAS didn't come up, because of a mistake in NIC settings...
We are rolling out Hadoop nodes. I'd prefer to keep and manage the configuration for each system outside of the HADOOP_HOME location. There is HADOOP_CONF_DIR which can be set - but it's not really clear to me, after reading the scripts and some docs, where the best place to set this is, so...
I have an ASA 5505 at home for which I want to configure a VPN to the Cisco ASA 5540 at work. Problem being, I have Comcast as an ISP and my IP is dynamic.
I know I can configure a tunnel and just go in and adjust if the IP happens to change. However, we have a number of other production...
We have an issue with a Mac OS X Lion NFS client that "should" be resolved using no_subtree_check to the NFS export attributes.
Unfortunately, when I go to change these attributes in ZFS (Solaris 10), I get an error:
# zfs set sharenfs=rw,anon=0,no_subtree_check zpool1/name
cannot set...
We have about 23 VoIP phones that I need to set up mirroring for on a 4200G switch for technical monitoring and diagnosis. The brand has the same three HEX numbers, but the documentation doesn't really say much about mirroring multiple MACs or whether I can use just the first three HEX numbers...
I've configured logrotate to handle one of our development logs. But, it's not really behaving as I would expect. Here's the config:
/var/log/dce/*log {
missingok
size 100M
create 0644 filecopy staff
notifempty
dateext
compress
}
Here's what happens when I run it manually:
#...
Again this only happens after the system reboots. The correct route we have for the point to point config is:
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default...
/etc/netmasks is symlinked to /etc/inet/netmasks, and we have:
10.250.0.0 255.255.255.0
10.251.0.0 255.255.255.0
10.245.137.0 255.255.255.0
So you can see, when Solaris puts in a 10/8 route for the last network, it shuts everything else down.
Thanks.
Had another issue similar to this, on the secondary system -- the netmask was changed to a /8 (255.0.0.0) when it should be 255.255.255.0 -- this is probably in response to the first system.
This is really p**sing me off. Our Linux systems just run, they don't misbehave like Solaris. I can't...
/etc/networks is a symlink to /etc/inet/networks :-) Ours is just a standard, there is nothing referencing any other networks there.
Should there be? I read through the manpage, it wasn't clear.
We have a point-to-point fiber that connects two thumpers across site which is used for replication of data. Normally this is just a matter of two interfaces, no route and no problem. However, on this system (Solaris 10), when the system reboots, we end up with a route that completely shuts...
We've encountered an issue with RHEL where the chkconfig settings of some daemons (that were previously configured via --add) seem to be removed from startup.
I'm looking for a way to monitor these -- perhaps with a Nagios script (we use Nagios internally, so that makes sense).
This may be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.