How can I unmount an nfs-mounted partition from the client?
Or is that even the right question?
Here is the situation: I have a directory exported on an nfs server (a desktop PC) and mounted from the command-line on my laptop. The desktop is a dual-boot which spends most of its time in windows (kids gaming machine). My plan is to have somewhere to store backups.
What should I do on the client before shutting-down the server PC to let things end gracefully?
Can I set-up fstab (or ?) on the client so that it will mount the exported drive if it is there but not cause problems if it is not there?
Is there a better way to do this???
Many thanks Syd
On 2003-12-13 13:50:55 +0000 Syd Hancock syd@toufol.com wrote:
How can I unmount an nfs-mounted partition from the client?
umount /path/to/mount
If you do that before shutting the server down, it should work as long as nothing is using it. I think you can set the bg option in fstab to make things carry on trying in the background if it's not mountable. See "man 5 nfs" for a list of options.