commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
echo 1 > /proc/sys/sunrpc/nfs_debug && tail -f /var/log/messages
to debug NFS issues.
`mount -o remount` doesn't pick up new NFS options (eg. timeo, soft, retrans, etc) so you need to do a full mount/remount cycle. This one-liner makes it quick and easy :) Update your fstab with the new options, then run it.
Lots of fun to run on nfs clients when the server or network connection is having issues
When a fs hangs and you've just one console, even # ls could be a dangerous command. Simply put a trailing "&" and play safe