Linux/nfs

From Omnia
Revision as of 21:32, 3 November 2026 by Kenneth (talk | contribs) (Created page with "== Restart NFS Client == You forced lazy unmount, but now your dmesg is still filled with: [4321018.374470] nfs: server my-nfs-store not responding, timed out [4321031.750618] nfs: server my-nfs-store not responding, timed out Restart client nfs services: sudo systemctl restart nfs-client.target rpcbind change /etc/fstab to: MYNFSSERVER:/shared_dir /mnt/your_mount_point nfs rw,soft,intr,bg,timeo=100,retrans=2 0 0 • soft: Tells the client to return an I/O e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Restart NFS Client

You forced lazy unmount, but now your dmesg is still filled with:

[4321018.374470] nfs: server my-nfs-store not responding, timed out
[4321031.750618] nfs: server my-nfs-store not responding, timed out

Restart client nfs services:

sudo systemctl restart nfs-client.target rpcbind

change /etc/fstab to:

MYNFSSERVER:/shared_dir  /mnt/your_mount_point  nfs  rw,soft,intr,bg,timeo=100,retrans=2  0  0

• soft: Tells the client to return an I/O error to the application after a timeout, instead of hanging forever. • intr: Allows you to interrupt stuck processes (like using Ctrl + C). • bg: If the server is offline during a system reboot, Ubuntu will mount it in the background instead of stalling your entire boot process. • timeo=100: Sets the timeout to 10 seconds before retrying.