Hi Dick,

Use the dataset resource in zonecfg(1M):

root arrakis [14:20:17]# zfs list rpool/test
rpool/test    19K   190G    19K  /rpool/test

root arrakis [14:20:18]# zoneadm list -civ
ID NAME STATUS PATH BRAND IP 0 global running / ipkg shared 2 mojo running /export/zones/mojo solaris10 shared - godel installed /export/zones/godel ipkg shared

root arrakis [14:20:24]# zonecfg -z godel
zonecfg:godel> add dataset
zonecfg:godel:dataset> set name=rpool/test
zonecfg:godel:dataset> end
zonecfg:godel> exit

Hope that helps,

On 02/ 7/10 01:23 AM, dick hoogendijk wrote:
# zfs list
rpool/www                     3.64G   377G  3.64G  /var/www
rpool/zones                   3.00G   377G    24K  /zones
rpool/zones/anduin            1.94G   377G    24K  /zones/anduin
rpool/zones/anduin/ROOT       1.94G   377G    21K  legacy
rpool/zones/anduin/ROOT/zbe   1.94G   377G  1.91G  legacy
rpool/zones/midgard           1.06G   377G    24K  /zones/midgard
rpool/zones/midgard/ROOT      1.06G   377G    21K  legacy
rpool/zones/midgard/ROOT/zbe  1.06G   377G  1.06G  legacy

I want to move the rpool/www zfs filesystem to zone midgard.
Is this possible and how is this done?
I guess it will no longer be accessible from the GZ then. That would be
good, because I want to seperate my webserver from my global zone.

zones-discuss mailing list

Reply via email to