LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unmount shares (https://www.linuxquestions.org/questions/linux-newbie-8/unmount-shares-4175539952/)

JJJCR 04-16-2015 11:02 PM

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.

JJJCR 04-16-2015 11:24 PM

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


All times are GMT -5. The time now is 12:00 AM.