I am rebuilding my workstation, including a reinstall of Ubuntu 16.04.x LTS.
Currently my lxd zfs storage uses a whole disk/pool. I would like to:
- move to lxd zfs pool to a dataset within another pool.
- tell lxd/c to use the new copy of the original pool.
- not have to individually export and import each container
I have got this far, but find it unclear how I should proceed. I’ve spent a few hours with google, but nothing clearly covers the topic of telling lxd to use an existing populated zfs dataset - in my interpretation.
sudo -i lxd shutdown zfs snapshot -r lxd-virt@migrate zfs send -R lxd-virt@migrate | zfs receive -F dev-pool/lxd-storage
Is there a way to progress from here? Or do I need to take a different approach. I’m happy to document any clear solution.