LXD import not working

nsenter -t $(cat /var/snap/lxd/common/lxd.pid) -m will get you in the namespace.

You can then use something like mount -t zfs dataset /var/snap/... to mount it.

Normally mounting from outside the snap is propagated inside the snap but there are some cases where this unfortunately isn’t true.

3 Likes