Often, when I mount a filesystem via ssh:
sshfs user@remote: ~/Mounts/Remote
and the machine hibernate (closing the Laptop lid) if I wake up the machine I can access the mounted folder. Furthermore, if I try to ls in the parrent folder, the terminal freeze. If try to unmount using
fusermount -u ~/Mounts/Remote
I can't do this becouse:
fusermount: failed to unmount /home/yotama9/Mounts/Remote: Device or resource busy
I tried to kill ssh but I can't mount the folder again. ls in the folder still freeze.
How can I avoid this and fix this (Arch Linux)?