How can I move an antlet to another zpool? I've got 3 zpools on my antsle ( /antlets, /mypool1 & /mypool2 ). I need to move an antlet from /mypool1 to /mypool2. Cloning is not an option & I'm unable to create a template.
Is this possible at the command line with zfs send / zfs receive?
Hi Dave:
Here are some info regarding using zfs send / zfs receive. I've tested this on my antsle One and external zpool on USB Drive.
See if there are there are any snapshots:
zfs list -t all
If none, create snapshot for antlet:
zfs snapshot pool_name2/antlet_name@snap_name
To send old antlet and create new one:
zfs send pool_name/antlet_name@snap_name | zfs receive pool_name2/antlet_name2
Edit or copy XML file to change name, location and remove UUID.
To define an LXC antlet:
vc define antlet-libvirt.xml
To define a KVM antlet:
virsh define antlet-libvirt.xml
I needed to remove the UUID and change the name and location if order for the antlet to be defined correctly. I did test with small LXC.