I have a virtual machine (Ubuntu 18.04) with ZFS filesystem and some LXD containers.
The default ZFS pool “lxdpool1” has a dataset for every container, eg.: lxdpool001/containers/gitea
I am sharing this dataset by running
zfs set sharenfs=on lxdpool001/containers/gitea zfs share lxdpool001/containers/gitea lxc stop gitea lxc start gitea
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart testzfsmount /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/testzfsmount/lxc.conf
How could I share without running into this?