User Tools

Site Tools


networking:nfs

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:nfs [2022/04/13 09:09]
gcooper
networking:nfs [2022/04/13 14:20] (current)
gcooper
Line 14: Line 14:
  
 https://help.ubuntu.com/community/HighlyAvailableNFS https://help.ubuntu.com/community/HighlyAvailableNFS
- 
-**NFSv4**: https://www.suse.com/support/kb/doc/?id=000017244 
  
 ===== Ubuntu ===== ===== Ubuntu =====
Line 25: Line 23:
 ===== Troubleshooting ===== ===== Troubleshooting =====
  
-NFSv4 handles UID maping differently than NFSv3.+**NFSv4**: https://www.suse.com/support/kb/doc/?id=000017244 
 + 
 +<note tip>If you are having **root squash** problems, you might be able to specify ''vers=3'' as a client mount option to get around the issue.</note> 
 + 
 +<note warning>NFSv4 handles UID maping differently than NFSv3.  In NFS v4 with ''idmapd'', the same ''username@domainname'' must be recognized by both sides, or it will be mapped to ''nobody'' (regardless of root squash).</note> 
  
 <file> <file>
 +mount    # show client mount details
 +
 umount /path/mountpoint umount /path/mountpoint
 mount -a mount -a
Line 38: Line 42:
 ps aux | grep idmapd ps aux | grep idmapd
  
-cat /etc/idmapd.conf+vim /etc/idmapd.conf 
 + 
 +Domain = somedomain.tld
  
 nfsidmap -cv   # clear cache nfsidmap -cv   # clear cache
 </file> </file>
networking/nfs.1649862580.txt.gz · Last modified: 2022/04/13 09:09 by gcooper