My btrfs partition looks like this
@/ - the root partition
@lxd/ - the lxd storage pool
hence @lxd is not beneath / - which is important, as I want to be able to restore a snapshot without losing my lxd storage pool. So to use it, I set up /etc/fstab:
$ grep lxd /etc/fstab
/dev/mapper/ubuntu–vg-root /var/snap/lxd/common/lxd/storage-pools/default btrfs defaults,subvol=@lxd 0 2
this used to work fine until a few weeks ago, now lxd ignores that mount, that is, it’s not visible in its namespace, and it instead writes to @/var/snap/lxd/common/lxd/storage-pools/default.
My containers thus stopped working:
$ lxc start debian
Error: Common start logic: saving config file for the container failed
lxc info --show-log debian for more info
Did I do this wrong, what can I do to fix this?