fuse: bad mount point - Transport endpoint is not connected

I mount various directories over ssh for convenience. Occasionally the connection gets interrupted and this leads to errors like: fuse: bad mount point /mnt/foo: Transport endpoint is not connected

It took me a little time to find out how to fix this problem:

  1. kill the sshfs process(es)
  2. umount -l /mnt/foo (as root)
  3. mount the sshfs again

I suppose this happens with other networked filesystems as well, or at least with other fuse filesystems.

If your connection drops only temporarily using the reconnect option should fix this problem as well.

Published on Oct. 4, 2010 at 3 p.m. by Nicolas and tagged sshfs, Linux, fuse. You can follow the discussion with the comment feed for this post. Feeling generous? Donate!

9 comments

  1. avatar
    wrote this comment on

    I've had this come up a lot with my fuse ftp fs. THANKS!!! Fixed. You rock!

    Reply to this comment
  2. avatar
    wrote this comment on
    This was helpful until I had enough of doing it every hour or so, so I added

    -o reconnect -C -o workaround=all

    and let sshfs figure it out for itself.
    Reply to this comment
  3. avatar
    wrote this comment on
    beautiful answer, it solved my problem in no time, couldn't figure it out either...
    Reply to this comment
  4. avatar
    wrote this comment on
    thanks, big help.
    Reply to this comment
  5. avatar
    wrote this comment on
    Wow, been searching for a while. Nice one.
    Reply to this comment
  6. avatar
    wrote this comment on
    Thanks you!!! This was a HUGE help!
    Reply to this comment
  7. avatar
    wrote this comment on
    Thanks, that worked for me
    Reply to this comment
  8. avatar
    wrote this comment on
    Wasted only 20 minutes thank to this small piece of code. Thanks !!!
    Reply to this comment
  9. avatar
    wrote this comment on
    Thats an Awesome Tip !! thanks a lot man
    Reply to this comment

Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.