Table of Contents
NFS Quick Reference
Some useful commands
NFS Quick Reference
Commands
Finding mounts we can use
If you put the server's IP address (or DNS name) below, it will show all NFS mounts available to your machine
showmount -e serverip
Checking Lock Status
Subversion hung when I ran it off an NFS mount. Took a while to track down, but it turns out subversion wants a lock on some files whenever you do a checkout/update/commit. Sounds reasonable.
I had locking installed and configured, but it was not running on my server (FreeBSD).
service lockd status
Started the service (service lockd start) and subversion did its job within a few seconds.
Locking
I had a situation where an application (subversion) would hang. Took a while to track down. Turns out, subversion locks files on checkout, update and commit (sound reasonable) and, it will wait forever for the lock.
My server (FreeBSD) had lockd installed but I had never started it. Following command showed me that, so I started it, and all of a sudden, subversion got its lock and did its thing.
service lockd status