$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
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to