> Hank Ratzesberger wrote:
> Hi, I'm Hank and I'm recovering from a crash attempting to make a zfs 
> pool the root/mountpoint of a zone install. 
>
> I want to make the zone appear as a completely configurable zfs file system 
> to the root user of the zone.  Apparently that is not exactly the way things 
> work.
>
> Any thoughts otherwise?  
>
> o Do zfs resources (datasets) need to be a separate item from the mountpoint 
> of the zone?

As Ian says, you can't trail the zoned tank dataset off the zoneroot. My zones
are created off rpool/zones. My layout looks like this:

rpool/zones/zone1                  6.44G  41.8G    23K  /zones/zone1
rpool/zones/zone1/tank             6.41G  41.8G    21K  none
rpool/zones/zone1/tank/home         104K  41.8G   104K  /export/home
rpool/zones/zone1/tank/logs        56.5K  41.8G  56.5K  /var/icg/logs
rpool/zones/zone1/tank/postgresql  6.41G  41.8G  6.41G  /var/postgresql
rpool/zones/zone1/tank/scratch       21K  41.8G    21K  /export/scratch
rpool/zones/zone1/zroot            27.6M  41.8G  27.6M

I create rpool/zones/zone1/tank when I build the zone, and then delegate to the
zone, so the zone admin (which happens to be Puppet, but regardless) can create
filesystems inside the zone.

benr wrote about it here:

 http://www.cuddletech.com/blog/pivot/entry.php?id=755
-- 
bda
cyberpunk is dead. long live cyberpunk.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to