LinuxQuestions.org
Visit Jeremy's Blog.
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 04-16-2015, 11:02 PM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,205

Rep: Reputation: 197Reputation: 197
Cool unmount shares


hello guys,
i have a NAS which I change the IP Address but the old IP Address was already mounted on my Linux box and forgot to do umount.

when i type df -h output is like this:
//192.168.1.67/NASK1 5.5T 3.6T 2.0T 65% /home/NASBak
//192.168.1.125/NASK1 5.5T 3.6T 2.0T 65% /home/NASBak
//192.168.1.27/NASK1 5.5T 3.6T 2.0T 65% /home/NASBak

The current used IP is xx.xx.1.67 and xx.xx.1.27

How do I remove the 192.168.1.125?

i know i can do like umount /home/NASBak

but it will unmount also the other 2 IP Addresses

is there a way to unmount by IP Address?

Thanks.
 
Old 04-16-2015, 11:24 PM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,205

Original Poster
Rep: Reputation: 197Reputation: 197
ok did google search, i didn't know that can unmount via IP like example below, but i guess i might need to restart the system because it has an error.

umount //192.168.1.125/NASK1
umount: cannot unmount //192.168.1.125/NASK1 -- //192.168.1.27/NASK1 is mounted over it on the same point

Last edited by JJJCR; 04-16-2015 at 11:25 PM. Reason: edit
 
  


Reply

Tags
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
Automatically unmount samba shares when they dissappear? haertig Linux - Software 1 10-23-2014 02:41 AM
Missing unmount and unmount.cifs johnmccarthy Linux - Newbie 3 11-19-2011 07:01 AM
Can't View List of Shares in Nautilus, but can browse shares directly macgyver007 Linux - Networking 3 12-11-2008 04:13 PM
Unable to unmount SMB shares reyemarr Linux - General 5 03-29-2004 02:25 AM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 06:33 AM


All times are GMT -5. The time now is 01:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration