> As a follow up I tried:
> 
> zoneadm -z master attach
> 
> 
> mount failed: Device busy
> ERROR: Unable to mount the zone's ZFS dataset.
> 
> So how do I attach my master zone to the running BE?
>  Note, this is the same BE I detached master from.

I edited /usr/lib/brand/ipkg/attach and uncommented set -o xtrace then I ran 
the zoneadm attach command again.  Here is the interesting output:

+ /usr/sbin/zfs list -H -o zoned rpool/zones/master/ROOT/zbe-1
+ zoned=on
+ [ on = off ]
+ /usr/sbin/mount -F zfs rpool/zones/master/ROOT/zbe-1 /zones/master/root
mount failed: Device busy
+ fail_fatal $'Unable to mount the zone\'s ZFS dataset.'
+ printf 'ERROR: '
+ 1>& 2
ERROR: + printf $'Unable to mount the zone\'s ZFS dataset.'
+ Unable to mount the zone's ZFS dataset.1>& 2

I  then ran:
$ mount |grep '/zones/master'
/zones/master on rpool/zones/master 
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d9003d on Thu Sep 24 
16:03:05 2009
/mnt/zones/master on /zones/master read only/setuid/devices/nosub/dev=2d9003d 
on Wed Sep 30 14:17:47 2009
/mnt/zones/master/root on rpool/zones/master/ROOT/zbe-2 
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90056 on Wed Sep 30 
14:17:47 2009

It is unclear to me why those zfs filesystems are mounted.
-- 
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to