Cannot start just one container after upgrade to Ubuntu 20


I’ve just upgraded my OS from Ubuntu 18 to 20.

Most of the migration process to LXD 4 has gone well, but with a few exceptions. On one container, I get the following error:

No such file or directory - Failed to mount "/var/snap/lxd/common/lxd/containers/my-container/rootfs"

The path is wrong (strange it’s wrong only for one container).

The container has /var/snap/lxd/common/lxd/storage-pools/tank1/containers/my-container as a mountpoint.

How can I change the mountpoint configuration in LXD? lxc config edit my-container didn’t really help me here…

Thanks in advance!

Can you check what the symlinks in /var/snap/lxd/common/lxd/containers look like?
Maybe that one instance doesn’t have the proper symlink.

1 Like

That was it! Thank you and have a happy new year :slight_smile: