How to unmount a mountpoint I mounted with FUSE earlier, after `sshfs` process is gone?

I used sshfs example.com:/path/to/remote/directory foobar to successfully mount a remote directory at a mountpoint I created with mkdir foobar (I own the directory). But the mounting was done on a shared host which kills user processes under some conditions, so the sshfs process is now gone and ls -la grep foobar now tells me:

ls: cannot access 'foobar': Transport endpoint is not connected
d?????????? ? ? ? ? ? foobar/

Furthermore, the recommended unmounting procedure fusermount -u foobar does not work:

fusermount: failed to chdir to /path/to/remote/directory: Permission denied

I can't even remove the mountpoint with rm, getting the same "Transport endpoing is not connected" error. unlink foobar also gives me "unlink: cannot unlink 'foobar': Is a directory". Remounting with sshfs does not work either.

Am I out of options here, as far as unmounting goes? Where do I go from here?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like