This started happening after the snap auto upgrade to lxd 5.2.
The original message when I would try to snapshot with
lxc snapshot container-name
is something like:
Error: Create instance snapshot (mount source): Failed to run: zfs set mountpoint=legacy canmount=noauto zfs-volume-name/containers/container-name: umount: /var/snap/lxd/common/shmounts/storage-pools/default/containers/container-name: no mount point specified. cannot unmount '/var/snap/lxd/common/shmounts/storage-pools/default/containers/container-name': umount failed
After trying to remount, I now get this error whenever I try to snapshot or restart:
Error: Instance snapshot record count doesn't match instance snapshot volume record count