0

I was trying to mount an sshfs drive in my Documents folder on mac, but I made the mistake of mounting in Documents and not within a folder inside Documents.

Everything seems to be gone that I had in Documents now, is there any way to recover this? Or did I delete all of my files?

When I did umount /Documents the mount was removed, but the Documents folder is just completely gone now.

Edit:

lizcconrad@MacBook-Pro ~ % pgrep -lf sshfs
11363 sshfs -o allow_other,defer_permissions,IdentityFile=~/.ssh/id_rsa -p 2222 ubuntu@127.0.0.1:/home/ubuntu/Documents/ /Users/lizcconrad/Documents
lizcconrad@MacBook-Pro ~ % sudo kill -9 11363
lizcconrad@MacBook-Pro ~ % umount ubuntu@127.0.0.1:/home/ubuntu/Documents 
umount: ubuntu@127.0.0.1:/home/ubuntu/Documents: not currently mounted
lizcconrad@MacBook-Pro ~ % cd Documents 
lizcconrad@MacBook-Pro Documents % ls
.
  • That shouldn't happen. Please provide more info such as the output of mount. – kaylum Jan 17 at 0:14
  • I did that and they are still gone. Then I restarted Finder which might have been a mistake, and it's still not there. – Liz C. Jan 17 at 0:14
  • I edited with the commands I did. I got the pgrep stuff from the page that was showing me how to use the mount system, so that might also be a problem. – Liz C. Jan 17 at 0:16
  • Your umount command doesn't look right (notice the error msg it gave). Try umount ~/Documents – kaylum Jan 17 at 0:19
  • 1
    Oh wow... I feel stupid. But I was sort of panicking lol. Thank you so much! It's back now. – Liz C. Jan 17 at 0:22

Your Answer

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

Browse other questions tagged or ask your own question.