LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-25-2010, 03:13 PM   #1
blainemiller
Member
 
Registered: Dec 2003
Posts: 78

Rep: Reputation: 1
Simple way to umount NFS mount in linux


Hello...

I've mounted a share using standard nomenclature for the NFS mount command with the following command line:

mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw)

mnt_for_70 is a mount point I created on {IP address2}

I'm confuse and want to be sure I use the correct command on the correct host to correctly umount the nfs share.

Would I execute umount /mnt_for_70 on {IP address2}

Not sure if such a simple command will work. As this is a semi-production host pair, I hesitate to just umount so simply & I have no test systems to try this on...

Thanks in advance for your time and assistance.

Blaine
 
Old 10-25-2010, 03:34 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
That seems a bit confused. On IP address2 you should simply type the following to do the mount - the / and IP address2 you have aren't meaningful unless you're mounting on a secondary IP of the host which I gather you aren't.

Code:
mount -t nfs -o rw {IP address1}:/ /mnt_for_70
On IP address2 you simply type the following to unmount it:
Code:
umount /mnt_for_70
Unmounting a filesystem doesn't do anything to its contents. You should be able to remount it again after you unmount it. (This is also true of device filesystems - if you don't destroy or reformat the underlying device the data is still there - it simply isn't visible until mounted.)
 
Old 10-25-2010, 06:00 PM   #3
blainemiller
Member
 
Registered: Dec 2003
Posts: 78

Original Poster
Rep: Reputation: 1
Thanks MensaWater...

My bad on the Code line... I inadvertently mixed the exports file entry to the end of the line I entered.

I'll try to do the umount as you suggest. I appreciate your time and consideration.

Blaine
 
  


Reply

Tags
nfs, umount


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 08:03 PM
Execute command on mount and integrate with gnome-mount / umount Peter Rhone Linux - Newbie 4 11-18-2008 06:28 AM
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 04:34 AM
util-linux-2.12r error on 'make -C mount mount umount' james penguin Linux From Scratch 2 08-29-2006 12:55 AM
Strange NFS mount / umount problem .. ..or Bug? PeteRossi Slackware 3 03-07-2006 10:25 PM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration