Since a bit, stopping containers fails, I think it has to do with the new LXD versions, since it worked before. Currently I am using LXD 4.0.x stable on a few Ubuntu 20.04 servers.
All what I get is this:
err: ‘Failed to deactivate LVM logical volume “/dev/primary/containers_machina”: Failed to run: lvchange --activate n --ignoreactivationskip /dev/primary/containers_machina: Logical volume primary/containers_machina contains a filesystem in use.’
message: The stop hook failed
I do not understand why this is happening, all worked fine before.
The container has nothing running on it, nothing that could block that.