Osxfuse: Desktop has disappeared

Created on 30 Oct 2016  路  8Comments  路  Source: osxfuse/osxfuse

So I'm not that experienced with this sort of thing, but I was trying to set up sshfs on my mac (El Capitan). I accidentally mounted onto my desktop, i.e. I tried to do "sshfs username@server:/transfer /Users/Ansible/Desktop", and hit enter to early before I had completed the file location. I then received the error
"
mount_osxfuse: mount point /Users/Ansible/Desktop is itself on a OSXFUSE volume
fuse: failed to mount file system: Invalid argument
"
Long story short, now my Desktop folder has disappeared from the file system. Is there anything I can do to recover? I can provide more information as necessary. Thanks

Most helpful comment

Without reboot you can do :

diskutil unmount force /Users/Ansible/Desktop

All 8 comments

You simply need to unmount the sshfs volume. Try running

umount  /Users/Ansible/Desktop

in Terminal. You can get a list of all mounts by running


in Terminal.

No luck. Got the following response:
[~]$ umount /Users/Ansible/Desktop
umount(/Users/Ansible/Desktop): Resource busy -- try 'diskutil unmount'

Mount shows:
username@server:/transfer on /Users/Ansible/Desktop (osxfuse, nodev, nosuid, synchronous, mounted by Ansible)

Is it safe to try diskutil unmount? I know it may seem like a basic question, I just don't want to screw something up even more.

Yes, its safe to run

diskutil unmount /Users/Ansible/Desktop

Don't worry, your data is not lost. The sshfs mount "hides" the contents of your Desktop, that's all. If diskutil does not work try rebooting your Mac.

Diskutil returned:
"Unmount failed for /Users/Ansible/Desktop"
I'll try rebooting and see what happens. Thanks so much for your quick responses!

Rebooting worked. Thanks so much!

You are welcome.

Without reboot you can do :

diskutil unmount force /Users/Ansible/Desktop

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aronkihui picture aronkihui  路  5Comments

cadmartin picture cadmartin  路  13Comments

gioalex picture gioalex  路  3Comments

xros picture xros  路  7Comments

ytzhang0925 picture ytzhang0925  路  13Comments