26 May 2011

Replicating a ZFS FS Between Hosts

Occasionally, it can be useful to fully replicate a volume of data from
one host to another.  Perhaps you need to mirror a production filesystem
(FS) for use in development, need a sane backup, etc.  The following
describes one way of doing this using ZFS.  Additionally, we're going

19 May 2011

Replacing a Failed SVM Disk

At some point, everyone deal's with a disk failure, as I had to do
recently.  In this case, it was a root disk.  Thankfully, however,
it was mirrored with SVM (Solaris Volume Manager).  Unfortunately, disk
failures aren't the type of thing that should happen too frequently so

16 May 2011

Sending Messages to Users

Recently while working on a problem with someone else, I needed to have
them run a series of commands with specific options.  Since we were
both working remotely, it wasn't as simple as telling them to look
over my shoulder.  Though I tried telling them the commands over the

16 April 2011

Enabling Local FS Quotas in Linux

Quotas allow you to limit the amount of space a user or group can use
and / or the number of files a user or group can create on a filesystem
(FS).  The following shows how to set up these quotas and the expected
user experience.  Our host details for this are:

07 April 2011

Granting Elevated Privileges in Solaris

root, root, root, everybody always wants root.  Developers, application
administrators, users, they all seem to find a reason to "need" root
access.  Since normally these needs are for access to particular files
or to perform very specific tasks, only a subset of root's access is

27 March 2011

Finding Open Files in Linux

Finding open files in Linux is quite similar to finding them in FreeBSD
and Solaris.  Here, we'll specifically identify open files on a particular
filesystem (FS) within a Linux environment.  Our host details this
time are:

25 March 2011

Finding Open Files in FreeBSD

Following up the same in Solaris, here's how to identify open files on
a particular filesystem (FS) in a FreeBSD environment.  Our host details
for this are:

23 March 2011

Finding Open Files in Solaris

During a recent discussion, another sysadmin asked that I write him a
tool to identify any open files on a particular file system (FS) in a
Solaris environment.  Rather than reinvent the wheel, I provided him
with the steps outlined here.  Our host details are: