Set up a group of containers in lxd running in snap on Debian stretch. Had some major issues so as part of that I un-installed snap. So I re-installed, initially not able to, but after a code modification I was able to complete the re-installation. As my thinking on how to use lxd has changed I wanted to have a much larger space for my containers so I chose to not re-use the previous container space.
How do I transfer those container spaces to the new area so that the previous containers are available for use?
(If this is unclear please ask and I will try to describe differently!!)
(I cannot find any information on how to use ‘Markdown’ so my formatting is just what I can achieve.)
Please note that I am using btrfs for my storage ‘construction’ (don’t know what its called!), both previously and presently.
$ lxc storage list
+------+-------------+--------+-----------------------------------------+---------+
| NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
+------+-------------+--------+-----------------------------------------+---------+
| lxd2 | | btrfs | /var/snap/lxd/common/lxd/disks/lxd2.img | 9 |
+------+-------------+--------+-----------------------------------------+---------+
yet
/media/memyself$ ls
lxd.1 lxd2 lxd.2
When there was only one storage pool there was only ‘lxd’ listed in this folder.
Now that there are two storage pools - - - well you can see the present setup.