Peter
2009-Oct-28 03:20 UTC
[zfs-discuss] Moving an dataset zpool from a local zone to the global zone
I''m wondering if anyone has run into this before. I''ve got a zone that has a zpool added into it as a dataset. I need to remove the zpool from the zone and mount on the global zone directly. I can remove the dataset from the zone config and remove the zpool from the zone. But I am having trouble getting the zpool to mount again on the global zone. It imports and exports fine but will not let me change the mount point stating that it is part of a nonglobal zone. Any thoughts on this ? ie: server1 runs zone1 datapool is a zpool exported to zone1 as a dataset I am going to remove the zone and need server1 to host datapool and all it''s filesystems. Also datapool is not the rootpool of the zone. Thanks -- This message posted from opensolaris.org
Miroslaw Luc
2009-Oct-28 09:37 UTC
[zfs-discuss] Moving an dataset zpool from a local zone to the global zone
On Tue, 27 Oct 2009, Peter wrote:> I can remove the dataset from the zone config and remove the > zpool from the zone. But I am having trouble getting the zpool > to mount again on the global zone. It imports and exports fine > but will not let me change the mount point stating that it is > part of a nonglobal zone. Any thoughts on this ?Check the zoned property: zfs get zoned <dataset> If it is on: zfs set zoned=off <dataset> And set the mountpoint property: zfs set mountpoint=<in_global_zone> <dataset> -Mirek