If you use SSHFS on MacOS and the end point stops responding or crashes, you need to do new SSHFS connection – but to do that, you need to either restart your mac or umount the old connection first.
I use sshfs to access data on my vmware ( Ubuntu ) – if that restarts, or crashes – I end up with error message mount_osxfusefs: mount point /Users/jan/site-sshfs is itself on a OSXFUSE volume
sshfs root@vmware:/srv/www/site/public_html/ /Users/jan/site-sshfs -oauto_cache,reconnect,defer_permissions,noappledouble,negative_vncache,volname=Site_VMware mount_osxfusefs: mount point /Users/jan/site-sshfs is itself on a OSXFUSE volume
To fix this, do mount:
jan:~ jan$ mount /dev/disk1 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse) root@vmware:/srv/www/site/public_html/ on /Users/jan/site-sshfs (osxfusefs, nodev, nosuid, synchronous, mounted by jan)
Look at the last line – that’s the connection we need to break.
Therefore, do:
jan:~ jan$ umount root@vmware:/srv/www/site/public_html/
That’s it! Now you can create new sshfs link.
it doesn’t work. Once osxfuse is broken, you can’t unmount the volume, you will get the “resource busy” error when trying
Hi Morten, try
sudo umount -l
or
sudo umount -f
if that won’t work, you need to find out what process is using it and kill it first. Use “fuser -vm /path” to check which process is working with that directory.
Hi! Thank you so much! It’s still a usefull information nowdays.