We had a power loss and since then I can't start some of our lxd containers. Actually all of them which are in a storage pool that is not on the root partition.
In /var/lib/lxd/containers the links to the containers (/var/lib/lxd/storage-pools/lxc1/containerXY) that are not on the root partition are missing.
Also a 'lxc storage list' shows all storage pools where they are supposed to be - storage lxc1 on /mnt/lxc1.
I guess somehow I need to mount the storage from /mnt/lxc1 to /var/lib/lxd/storage-pools/lxc1
How can I do that?
My first thought was that lxd started during the reboot before the partitions /mnt/lxd1 got mounted so I restarted lxd now that /mnt/lxd1 was there for sure. Didn't help.
Two machines were affected by the power loss and both show the same symptoms.
Running lxd version 2.18
using 'dir' driver