User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
nfsidmapping [2023/05/27 16:31] – created normannfsidmapping [2025/10/02 12:05] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
 <code>echo N > /sys/module/nfsd/parameters/nfs4_disable_idmapping</code> <code>echo N > /sys/module/nfsd/parameters/nfs4_disable_idmapping</code>
 +
 +<code>echo N > /sys/module/nfs/parameters/nfs4_disable_idmapping</code>
 +
 clean idmap cache and restart idmap daemon: clean idmap cache and restart idmap daemon:
  
-<code>nfsidmap -c</code> +<code>sudo nfsidmap -c</code> 
-<code>service rpcidmapd restart</code>+<code>sudo service rpcidmapd restart</code> 
 +<code>sudo service nfs-idmapd restart</code>
  
 My need restart NFS server and/or client... My need restart NFS server and/or client...
Line 16: Line 20:
  
 Nevertheless, the numeric ID's can be different. 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):
 +
 +<code>options nfsd nfs4_disable_idmapping=N</code>
 +on client(s) (modprobe.d/nfs.conf):
 +
 +<code>options nfs nfs4_disable_idmapping=N</code>
 +