Tuesday, May 05, 2009

OpenSolaris zone: "One more thing..."

Here with OpenSolaris you do not want to create native zone, but ipkg one, using a standard /zones/foobar dataset. And, of course, it will not work for you, complaining about zone path dataset:
ERROR: Error: no zonepath dataset.
That's because /zones must be a ZFS. To fix a bones, remove and add it to the ZFS pool instead:
rmdir /zones
zfs create -o mountpoint=/zones rpool/zones
Then proceed with a regular zone setup, using zonecfg. Zones also works now perfectly with VirtualBox, version 2.2.2.

No comments: