So I goofed when using sshfs
and the folder I was using as a mountpoint for the server has been borked. The server wasn't unmounted correctly (I think due to a network drop out).
consequently, when I ls
my /Volumes/ where I had originally made the mountpoint
folder I now get an I/O error:
joehealey@Joes-MacBook-Pro:/Volumes$ ls -al
ls: mountpoint: Input/output error
total 24
drwxrwxrwt@ 7 root admin 238 21 Oct 13:08 ./
drwxr-xr-x 37 root wheel 1326 3 Oct 12:38 ../
-rw-r--r--@ 1 joehealey admin 6148 22 Sep 2014 .DS_Store
drwxr-xr-x 1 joehealey staff 8192 28 Jul 20:04 BOOTCAMP/
lrwxr-xr-x 1 root admin 1 15 Oct 08:52 Macintosh HD@ -> /
drwxrwxrwx 0 root wheel 0 21 Oct 13:08 MobileBackups/
joehealey@Joes-MacBook-Pro:/Volumes$ mkdir mountpoint
mkdir: mountpoint: File exists
joehealey@Joes-MacBook-Pro:/Volumes$
I've seen similar problems in thread such as this where the suggestions are to nuke the whole disk etc. Now, I'm not so concerned by this that I'm prepared to go that far, so I'm just wondering if there is any way to force-remove and resolve this specific instance?
mount
command does it still think that thesshfs
is mounted? – Eric Renouf Oct 21 '15 at 12:49mount
the server again, but cannot use that folder. I have to create another. As far as the Mac is concerned from what I can tell, it doesn't think the server/sshfs
is mounted as it doesn't appear in Volumes/Finder etc etc. – Joe Healey Oct 21 '15 at 14:36mount
without any arguments it should show you all the currently mounted filesystems, that might show a "dangling" mount at the old mount point, you could try unmounting it if that's the case, I'm not familiar enough with OSX to know whether Finder or anything else would show such something like that – Eric Renouf Oct 21 '15 at 14:47mount
has shown up the mapped drive. Presumably if I try to unmount it now that might remove this "dangling" directory? – Joe Healey Oct 21 '15 at 14:57