TLDR
-
CLI tool written in C that runs client-side NFS diagnostics covering network, rpcbind, mounts, permissions, ACLs, locking, and performance.
Key Takeaways
-
Checks rpcbind port 111, NFS port 2049, RPC service map, NFS v2/v3/v4/v4.1/v4.2, mountd, lockd, and statd in one pass.
-
Mounts exports under
/tmp/nfsdoctor-*, reads /proc/self/mountstats and /proc/net/rpc/nfs for deep latency and retransmission metrics.
-
Simulates UID/GID access via
setuid/setgroups in child processes to expose root_squash and permission mapping bugs.
-
Outputs compact text, hierarchical JSON, or standalone HTML reports; exit code 1 on any warning for clean CI integration.
-
Docker fixture set covers 14 bad-NFS scenarios (rpcbind-unreachable, stale-handle, root-squash, etc.) for regression testing.
Hacker News Comment Review
-
No substantive HN discussion yet.
Original | Discuss on HN