sshfs mounted directory becomes unresponsive

Posted by gms8994 on Super User See other posts from Super User or by gms8994
Published on 2010-03-25T16:20:58Z Indexed on 2010/03/25 16:23 UTC
Read the original article Hit count: 663

Filed under:
|

I've mounted a directory via sshfs:

sshfs <user>@<host>:/var/www <host>/

However, after a few hours, the "something" happens, and I can no longer use the mounted directory. Symptoms are similar to when an nfsmounted server becomes unavailable: ls fails, cd fails, etc.

I've attempted

sshfs -o reconnect <user>@<host>:/var/www <host>/

but that never responded.

Does anyone know how I can either unmount the directory, and remount it, or force sshfs to reconnect to the server?

© Super User or respective owner

Related posts about sshfs

Related posts about disconnect