Kam
2009-Dec-18 15:55 UTC
[zfs-discuss] zfs zone filesystem creation does not mount if root of pool is not mounted
$zpool create dpool mirror c1t2d0 c1t3d0 $zfs set mountpoint=none dpool $zfs create -o mountpoint=/export/zones dpool/zones On Solaris 10 Update 8 when creating a zone with zonecfg and setting the zonepath to "/export/zones/test1" and then installing with zoneadm install, the zfs zonepath file system gets created but not mounted if the root of the pool "dpool" is not mounted. An "ls" of /export/zones reveals that instead of a filesystem, a directory is created and the zone is installed there. Can anyone validate whether or not this is happening in opensolaris? I don''t have any free drives to test this with. $zfs list -o name,used,avail,reservation,quota,mounted,mountpoint NAME USED AVAIL RESERV QUOTA MOUNTED MOUNTPOINT dpool 224M 134G none none no none dpool/zones 224M 134G none none yes /export/zones dpool/zones/test1 21K 134G none none no /export/zones/test1 dpool/zones/test2 21K 134G none none no /export/zones/test2 dpool/zones/testfs 21K 134G none none yes /export/zones/testfs $zoneadm list -vc ID NAME STATUS PATH BRAND IP 0 global running / native shared 3 test1 running /export/zones/test1 native shared 4 test2 running /export/zones/test2 native shared -- This message posted from opensolaris.org
Kam Lane
2009-Dec-18 18:07 UTC
[zfs-discuss] zone''s filesystem does not mount at zone create if root of pool not mou
A bug is being filed on this by Sun. A Senior Sun Engineer was able to replicate the problem and the only work around they suggested was to temporarily mount the parent filesystem on the pool. This applies to Sol 10 Update 8; not sure about anything else. -- This message posted from opensolaris.org