On Mon, Dec 1, 2008 at 8:02 AM, Enda O'Connor <[EMAIL PROTECTED]> wrote:
> No Solaris 10u6 does support zones on zfs, but not as cleanly as nevada,
> there are some differences, as new features are integrated into nevada,
> then later they "might" get backported to soalris updates. On s10u6 you
> have to create the zonepath yourself, either mkdir or zfs create,
> setting appropriate permissions too,
> ie the zoneroot must be 700, so /zones would be 755 say and new would be
> 700.
> Enda

Further, the zoneadm(1M) man page says that "zoneadm clone" can make
use of snapshots created from previous zoneadm clone operations, but
zoneadm clone does not create snapshots or clones in the first place.
It does work to do something like:

zoneadm -z master halt
zoneadm -z master detach
zfs snapshot rpool/zones/[EMAIL PROTECTED]
zoneadm -z master attach
zonecfg -z new
create -t master
   set zonepath=/zones/new
zfs clone rpool/zones/[EMAIL PROTECTED] rpool/zones/new
zoneadm -z new attach
zoneadm -z new boot -s
zlogin new sys-unconfig
zoneadm -z new halt

My guess is that people that need to do this frequently will write a
script, which is a shame since it is already so well directly via
zoneadm in Nevada.

Mike Gerdts
zones-discuss mailing list

Reply via email to