Open artgoldberg opened 3 years ago
Still a problem.
Folks, if you're running into this, and easy workaround is to just create a new mount point. E.g., if ~/local_dir
is still mounted, instead of
sshfs uid@xxx:/remote/dir ~/local_dir
execute
sshfs uid@xxx:/remote/dir ~/local_dir_2
Eventually -- and certainly after rebooting -- the mount points will be released.
@artgoldberg If you run unmount from within a mounted directory then it will fail with this for sure. Not sure what other cases would lead to that.
Maybe this is obvious, but if the resource is being used by some process (that is, the resource is actually busy), then that could prevent the unmount. Remounting a stale sshfs mount is unfortunately a little cumbersome (close/kill any processes using that node, sudo umount
manually, then remount with sshfs
).
i have often problem with hanging volumes. at least in this case umount -f /sshdir
worked for me and allowed remount at the same node
Hello sshfs
Following the directions in SSHFS, I've mounted a remote directory on a local directory.
The line in the mount table is
The connection has gone stale and I'd like to remount it. Reissuing this command
generates
But various attempts to use umount fail. E.g.,
generates
And
diskutil unmount
says:Running macOS Big Sur.
Assistance would be greatly appreciate.
Arthur