Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I find if I attempt to unmount the directory it's mounted to(or mount point if you'd rather be specific) that it works just as well. Another option is:
# more /etc/mtab
which shows ALL currently mounted filesystems, then you can umount whichever the NFS is attached too. One thing to note is that you cannot be in a directory on the NFS system(or you'll get an in use error).
Originally posted by jonfa mount computer_host:/home/jon /home/tmp
You probably want to specify some options when you mount your NFS shares. If you are on a unswitched LAN (so Coax or a hub) try the following:
mount -t nfs -o async,rsize=4096,wsize=4096 server:/share /someDir
This forces all IO to be done asynchronosly (sp?) and your read size and write size to be a bit friendlier for Intel boxes (if you're on a SPARC or something then this is different - IIRC its something to do with the CPUs page size - but don't quote me on it).
If you on a switched LAN then you might want to leave our the 'async' option.
As for the umount I've just always used umount /someDir without any problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.