Monthly Archives: June 2009

opensolaris zoneadm attach detach problems

After getting so excited about figuring out what was up with the upgrade to 2009.06 I ran into another, more sticky problem. I rushed into reattaching the zones I’d had to detach to get beadm working by using:

zoneadm -z zonename attach -F

Oh dear: that was a bad idea. The zone appeared to attach but zoneadm -z zonename boot failed and then I discovered it was impossible to delete, rename or reconfigure the zone.

After a few attempts to recover things, the correct answer turns out to be to manually edit /etc/zones/index to change the state of the zone to read configured, and then it’s trivial to reattach the zone with:

zoneadm -z zonename attach -u -d path/to/zonename/ROOT/zbe

at which point it automatically upgrades the zone to 2009.06.

Share

opensolaris 2008.11 to 2009.06 upgrade fails on beadm

New OpenSolaris release: Yay !

Updater fails on beadm create, and manual attempts also fail: Boo !

After a lot of grumbling Googling down plenty of dead-ends it appears that beadm in 2008.11 gets very upset when there are Zones attached. A set of zoneadm detach commands later and the updater completed without any problems at all.

Share
Page 1 of 11