Access storage pool within a snap?

Is there a standard way to access a btrfs storage pool that is mounted within the lxd snap? The mount point seems to be in /var/snap/lxd/common/lxd/storage-pools/default but even as root on the host system I cannot access the files directly.

My main goal is to be able to run maintenance commands (btrfs fi defrag, offline deduplication, fstrim) against the storage pool.

I can access the storage pool within the snap with shell inside the snap snap run --shell lxd, but the toolset within the snap is a bit limited.

Any ideas?

snapd hides stuff quite a bit indeed, we do provide a symlink for convenience though, so in this case, you could use:

/var/snap/lxd/common/mntns/var/snap/lxd/common/lxd/storage-pools/default/ to access the path inside the snap environment.