I’ve added a new hard-drive to my server with the idea of running ZFS on the entire disk, and not just in an image file. I would like to move my LXD containers to the new disk, but it doesn’t seem to work.
I’ve tried following the tips mentioned in these 2 topics:
You’re not missing anything, that feature was introduced in a later feature release and is not part of LXD 3.0.x.
In this case, you need LXD 3.2 or higher.
There is a bit of an odd way to deal with this on older releases which may work for you.
You could add your existing server as a remote server in the CLI (lxc remote add) and then copy your container between the local remote and the newly added one using --mode=relay.
This should work just as copying between two LXD servers normally would and will not require the special code that was added for cross pool copy/move in newer releases.
After copying the container locally I had to change its name, it wouldn’t start otherwise. I imagine this has to do with old symlinks, but that’s not a problem.