Writing /var/www/html/wiki.freefm.uk/data/cache/9/9b088bc9a157ccf99499c5e3e25f6384.metadata failed
nfsidmapping
This is an old revision of the document!
Mapping UID and GID of local user to the mounted NFS share
First of all, enable is on the client and server:
echo N > /sys/module/nfsd/parameters/nfs4_disable_idmappingclean idmap cache and restart idmap daemon:
nfsidmap -c
service rpcidmapd restart
My need restart NFS server and/or client…
/etc/init.d/nfs-kernel-server restart
Now on server and the client will send instead of numeric IDs string principals like bob@YOURDOMAIN.COM. You need to have bob account on the both hosts - client and server.
Nevertheless, the numeric ID’s can be different.
To make these changes permanent, create configuration files in /etc/modprobe.d/,
on server (modprobe.d/nfsd.conf):
options nfsd nfs4_disable_idmapping=Non client(s) (modprobe.d/nfs.conf):
options nfs nfs4_disable_idmapping=N
nfsidmapping.1685895471.txt.gz · Last modified: (external edit)
