Why not have an explicitly created dataset?

eg. zfs create zones/data/DATASET; zfs set mountpoint=legacy
zones/data/DATASET

you can then:

zonecfg -z NEWUUID

add dataset
set name=zones/data/DATASET
#set alias=data # if you want
end

You probably have to "remove dataset name=zones/data/DATASET" from the old
zone first.


Do you need to do snapshots within the zone? Maybe an lofs mount may work
better. That will probably allow you to mount in two zones at the same time.

Nicholas


On 18 May 2015 at 11:45, Greg Zartman <[email protected]> wrote:

> On Sun, May 17, 2015 at 4:34 PM, Nicholas Lee <[email protected]>
> wrote:
>
>> Build a new zone and delegate the dataset to this new zone?
>>
>
> Interesting.  I've never tried that.   However I don't know it is possible
> to move a delegated dataset from one OS VM container to another.  Looking
> at the man page for vmadm doesn't seem to show any means to define the
> delegated dataset name.
>
> About as close as I think we can get is to snapshot the old delegated
> dataset and then zfs send it over to the new OS VM container.
>
> Thanks,
>
> Greg
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/25241303-ebebecbc> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to