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              -

AT&T 3G in Austin

All the hipsters showed up in Austin and their iPhone 3G onslaught made the AT&T 3G network kinda sorry.  They’re going to add capacity so you can TwitterBookSpaceFlickr some more.

Fact is, I was in Austin not long ago, a solo pseudo-hipster with only one iPhone 3G, and the AT&T 3G network was already kinda sorry.  I’ll be back in a few days for the real music experience, and I hope AT&T leaves all the trailers and duct tape and hamsters running on exercise wheels in place so I can reap the benefits.

It’s a shame that Steve has been in Austin for two SXSW happenings and I haven’t insisted that we go.  I definitely think it would be a lot of fun.  It’s obviously an educational experience.