Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

unmount unreachable nfs-server

$
0
0
I use nfs to connect to pc's
client: 192.168.2.20
server: 192.168.2.22

I establish the connection with the mount command on the client:

Code:

sudo mount -t nfs 192.168.2.22:/home/peer /mnt/asus/home
Unmounting goes with:

Code:

sudo umount 192.168.2.22:/home/peer orsudo umount /mnt/asus/home
This works great when bot pc's are connected but there is a problem when the server is not reachable (turend off). I tried the --force option:

Code:

sudo umount -f 192.168.2.22:/home/peer orsudo umount -f /mnt/asus/home
This seems to work but the umount command is not completed so the prompt will not return.
I also tried the --lazy option but that gave the same result.

How can I umount the unreachable server properly?

Statistics: Posted by peer — 2024-02-16 09:21 — Replies 4 — Views 119



Viewing all articles
Browse latest Browse all 3474

Trending Articles