This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:nfs [2018/05/04 09:08] gcooper |
networking:nfs [2022/04/13 14:20] (current) gcooper |
||
---|---|---|---|
Line 3: | Line 3: | ||
* NFS is a network file sharing protocol like SMB/CIFS | * NFS is a network file sharing protocol like SMB/CIFS | ||
* NFS allows multiple users to mount the same filesystem over a network | * NFS allows multiple users to mount the same filesystem over a network | ||
- | * NFS works well with the Citrix XenServer | + | * NFS works well with the Citrix |
- | * NFS is simpler to manage than iSCSI | + | * NFS is simpler to manage than iSCSI (block storage) |
- | * May use bonding | + | * May use bonding |
* iSCSI may offer better performance | * iSCSI may offer better performance | ||
- | * May use MPIO | + | * May use MPIO for higher availability |
https:// | https:// | ||
Line 14: | Line 14: | ||
https:// | https:// | ||
+ | |||
+ | ===== Ubuntu ===== | ||
+ | |||
+ | < | ||
+ | apt -y install nfs-common | ||
+ | </ | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | **NFSv4**: https:// | ||
+ | |||
+ | <note tip>If you are having **root squash** problems, you might be able to specify '' | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | < | ||
+ | mount # show client mount details | ||
+ | |||
+ | umount / | ||
+ | mount -a | ||
+ | tail -30 / | ||
+ | |||
+ | nfsidmap[nnnnn]: | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ps aux | grep idmapd | ||
+ | |||
+ | vim / | ||
+ | |||
+ | Domain = somedomain.tld | ||
+ | |||
+ | nfsidmap -cv # clear cache | ||
+ | </ |