Hi, newb here!
Straight to the point: I've set up a NFS share on TrueNAS (separate physical machine) and mounted it on my Proxmox node as storage for ISOs, container templates and as a backups repository.
It seems the only way to make it work is by making uid/gid match between server and client.
Server side (TrueNAS) I can set those parameters at will from the web interface itself.
Client side, though, this doesn't seem possible; so I need to make a user, note down its uid/gid, ensure they're sent to TrueNAS in place of root's and then change TrueNAS-side uid/gid to match them.
As of now, Proxmox is using root's uid/gid, which are 0:0, to access the NFS. And the corresponding TrueNAS user/group with those same uid/gid, guess it, are root:root!
Which is inacceptable for obvious reasons. At least I think they're obvious.
Now; I can create new users and groups at "Datacenter" level, but I don't know how to check their uid/gid from the node's console. Nor how to pass them to TrueNAS to gain write rights over the NFS share.
Actually, I don't even know whether I'm doing it right at all!!
I've googled around for quite a bit, but I've found very few relevant threads/posts; some say it's just simple and don't elaborate, others resort to root:wheel (or root:root) TrueNAS' user/group. A third group can't even make it work with root:root....!
Am I doing it right?
What am I missing?
Any guide/tutorial about what I'm trying to achieve?
Thank you!
Straight to the point: I've set up a NFS share on TrueNAS (separate physical machine) and mounted it on my Proxmox node as storage for ISOs, container templates and as a backups repository.
It seems the only way to make it work is by making uid/gid match between server and client.
Server side (TrueNAS) I can set those parameters at will from the web interface itself.
Client side, though, this doesn't seem possible; so I need to make a user, note down its uid/gid, ensure they're sent to TrueNAS in place of root's and then change TrueNAS-side uid/gid to match them.
As of now, Proxmox is using root's uid/gid, which are 0:0, to access the NFS. And the corresponding TrueNAS user/group with those same uid/gid, guess it, are root:root!
Which is inacceptable for obvious reasons. At least I think they're obvious.
Now; I can create new users and groups at "Datacenter" level, but I don't know how to check their uid/gid from the node's console. Nor how to pass them to TrueNAS to gain write rights over the NFS share.
Actually, I don't even know whether I'm doing it right at all!!
I've googled around for quite a bit, but I've found very few relevant threads/posts; some say it's just simple and don't elaborate, others resort to root:wheel (or root:root) TrueNAS' user/group. A third group can't even make it work with root:root....!
Am I doing it right?
What am I missing?
Any guide/tutorial about what I'm trying to achieve?
Thank you!
Last edited: