From memory (I don't do it often)
vmadm send UUID | ssh host vmadm recv
... let it fail ...
zfs send -R zones/UUID/data | ssh host zfs recv
ssh host vmadm install UUID
From what I remember it fails on the (internal only) install step on the
vmadm recv due to the dataset being missing, you should be able to kick
it off there again once the dataset is there.
On 2016-01-29 07:50, Anil Jangity wrote:
I am having problems using vmadm send to a remote host when I have a
zone configured with the 'delegate_dataset' flag. It looks like it
doesn't transfer the delegated fs so it ends up throwing errors.
Is this something that will be supported in the future?
I have a few zones with this flag, what is a workaround for it?
I've tried to do zfs send, and then on the remote host, tried to setup
the duplicate zone manually with vmadm, but can't seem to get that to
work either:
host1# zfs send -Rp zones/9b92f6f8-7fec-442f-91f1-8387004a12ba@sending
| ssh root@host2 zfs receive zones/9b92f6f8-7fec-442f-91f1-8387004a12ba
…
host2# vmadm create < vm2.json
This ends up failing because it tries to re-create the file system,
which already exists.
Thanks
-------------------------------------------
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