Tutorial 1 min read by syncopio Team

NFS Mount Options Cheat Sheet

NFS mount options cheat sheet: rsize, wsize, nconnect, noatime explained with recommended values. Copy-paste the optimal mount command for NFSv3 and NFSv4.

These are the mount options we recommend for NFS data migrations. Copy this, tweak the IP and export path, and you’re done:

mount -t nfs -o rw,hard,noatime,rsize=1048576,wsize=1048576,nconnect=8 \
  192.168.1.100:/export/data /mnt/nfs

To make it persistent across reboots, add to /etc/fstab:

192.168.1.100:/export/data /mnt/nfs nfs rw,hard,noatime,rsize=1048576,wsize=1048576,nconnect=8 0 0

Option Reference

OptionWhat it doesRecommended
rsize=1048576Read buffer size (bytes)1 MB β€” max for NFSv3/v4
wsize=1048576Write buffer size (bytes)1 MB β€” matches rsize
nconnect=8Parallel TCP connections per mount4-16 β€” ~3x throughput on 10GbE
noatimeSkip access-time updates on readsAlways β€” reduces write I/O
hardRetry indefinitely on server timeoutYes β€” prevents silent corruption
softReturn error after timeoutAvoid β€” risks incomplete writes
intrAllow signal interrupts during hard hangsDeprecated since kernel 2.6.25 β€” ignored on modern kernels
noctoSkip close-to-open consistency checksOnly for read-only data
actimeo=60Cache file attributes for 60 secondsGood for mostly-static data
vers=4.2Force NFSv4.2 (server-side copy, sparse files)If server supports it

Version requirements

nconnect requires Linux kernel 5.3+. Check with uname -r before adding it β€” older kernels silently ignore the option.

Quick test

After mounting, run nfsstat -m to confirm your options took effect. Some servers silently downgrade nconnect or buffer sizes.

syncopio advantage

syncopio auto-mounts NFS endpoints with optimized options β€” no manual mount commands needed.

Further Reading

Ready to simplify your migrations?

See how syncopio can save you hours on every migration project.

Request a Demo