-1

QNAP TS-873A here with ZFS. I have a storage volume that I am exporting over nfs (root squash) to multiple local clients. No issues there - each client's user has the same uid / gid and can access the volumes over nfs just fine.

The issue is when I spin up a local LXD container and locally mounting the same volumes. In the container my user has the same uid / gid (number) but the directories created and accessible over nfs show up as nobody / nogroup in the container. Furthermore when I create a new directory with uid 1000, for example, inside the clients the nfs exports show the uid / gid as 1001000.

Ideally I'd like to be able to have uid / gid 1234 access directories via nfs in the same way that uid / gid 1234 can access them by locally mounting them inside an LXD container. Is this possible? How do I manage this?

drjrm3
  • 139
  • 5

0 Answers0