Hi Dick,
Use the dataset resource in zonecfg(1M):
---8<---
root arrakis [14:20:17]# zfs list rpool/test
NAME USED AVAIL REFER MOUNTPOINT
rpool/test19K 190G19K /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
- godelinstalled /export/zones/godelipkg
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
---8<---
Hope that helps,
Jordan
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 377G24K /zones
rpool/zones/anduin1.94G 377G24K /zones/anduin
rpool/zones/anduin/ROOT 1.94G 377G21K legacy
rpool/zones/anduin/ROOT/zbe 1.94G 377G 1.91G legacy
rpool/zones/midgard 1.06G 377G24K /zones/midgard
rpool/zones/midgard/ROOT 1.06G 377G21K 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
zones-discuss@opensolaris.org