Use case - In global zone, create a zfs filesystem and mount it using legacy 
method (mount -F zfs)  and then export it to local zone through zonecfg.

Issue - After this not able to reboot the zone.

bash-3.00# mount | grep export
/export/home on testpool4/home 
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=401001d on Tue May  4 
18:39:37 2010
/export/home/hmarne on testpool4/home/hmarne 
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=401001f on Tue May  4 
18:42:18 2010

bash-3.00# zfs list | grep home
testpool4/home            37K   460M    19K  legacy
testpool4/home/hmarne     18K   100M    18K  legacy

zonecfg:sv52-zone> add fs
zonecfg:sv52-zone:fs> set dir=/export/home
zonecfg:sv52-zone:fs> set special=testpool4/home/hmarne
zonecfg:sv52-zone:fs> set type=zfs
zonecfg:sv52-zone:fs> end
zonecfg:sv52-zone> commit
zonecfg:sv52-zone> exit

[b]bash-3.00# zoneadm -z sv52-zone reboot
zoneadm: zone 'sv52-zone': "/usr/lib/fs/zfs/mount testpool4/home/hmarne 
/space/zones/sv52-zone/root/export/home" failed with exit code 1[/b]
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to