I Did Not Know: multitail

I think I once knew this, but forgot about it. Still, the fact remains:

I Did Not Know about multitail.

I’m watching eight different log files from a Windows server through CIFS on my Windows 7 desktop where I’m running Cygwin and multitail. This is both pleasant and awesome-looking, which is not normally the case for watching eight different log files, especially on Windows.

New Job: St. Jude

I have a personal re-org announcement for you:

Yesterday was my last official day as a system administrator at The University of Memphis. I’m starting at the end of this month as a Enterprise Network Storage Architect at St. Jude Children’s Research Hospital.

I was at the U of M for a little over five years, and for the most part, I really enjoyed it. I worked with some good people in the IT Division and throughout the University. I did interesting technical work and had my share of successes. I developed professional and personal relationships that I truly appreciate. I started and finished a graduate degree in my spare time.

Most importantly, I met Molly.

I’m looking forward to St. Jude. It’ll be fun to work on projects where you can say “petabyte” with a straight face. I’m excited to contribute to the work the researchers are doing, and a quick walk through the halls of the main buildings makes it obvious that this work is important and often miraculous.

Most importantly, I can occasionally have lunch with Molly. And Simon.

– Yes, this is a mouthful.

Solaris 10 u6 has no “-u” on “zfs receive”

Despite what you might read at docs.sun.com, Solaris 10 update 6 doesn’t have a “-u” option for `zfs receive`.

jmcmurry@lemon $ cat /etc/release
Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
jmcmurry@lemon $ zfs receive -u
invalid option 'u'

This could’ve been brought to my attention before I decide to create my ZFS export streams recursively. One at a time, I’d have been fine. What seemed to be an awesome way to retrofit a metadata slice for an SVM volume into a whole disk ZFS root install turned out to be a miserable trail of heartache and pain.

But I can take it; I am a Unix guy.

UPDATE: “-u” seems to be in Solaris 10 update 7, but even there, it’s not in the man page for zfs(1M). Thanks so much for updating the docs without indicating that the “recover your root storage” function only works on the OS release that you made available for download today.

/grrr

Moving a Solaris 10 zone

Today I wanted to move a Solaris 9 zone running on a Solaris 10 test server to a new ZFS dataset within the same ZFS pool with compression enabled. This container is an archive of an environment we don’t use very much, normally leave shut down, and intend to delete fairly soon, but since it’s a flash archive of a Solaris 9 machine, it takes up a lot of space on the test system’s local disks.

First I created the new dataset:

# zfs create rpool/zones
# zfs set mountpoint=/zones rpool/zones
# zfs create rpool/zones/foo
# zfs set compression=on rpool/zones/foo

I thought I should halt the zone, update the zonepath property for the zone, move the files to the new place, and start up the zone. Nope:

zonecfg:foo> set zonepath=/zones/foo
Zone foo already installed; set zonepath not allowed.

Great, now I’m going to have to search through a bunch of docs and maybe remove the zone and redo it all and why can’t they make this easy for me, argh.

Well, they did:

# zoneadm -z foo move /zones/foo

I like a lot of the changes in Solaris 10, especially the usage and man pages for things like zfs(1M). These commands tend to do the annoying things for you and the man pages have lots of examples. Nice.

And hey:

# zfs get compressratio rpool/zones/foo
NAME               PROPERTY       VALUE              SOURCE
rpool/zones/foo  compressratio  1.44x              -