Skip to content

How to unmount sshfs mounted on FUSE filesystem #67

@artgoldberg

Description

@artgoldberg

Hello sshfs

Following the directions in SSHFS, I've mounted a remote directory on a local directory.

The line in the mount table is

uid@xxx:/var/opt/leafapi/ on /Users/arthur_at_sinai/gitOnMyLaptopLocal/sc_repos/leafapi_on_vm (macfuse, nodev, nosuid, synchronous, mounted by arthur_at_sinai)

The connection has gone stale and I'd like to remount it. Reissuing this command

sshfs uid@xxx:/var/opt/leafapi/ ~/gitOnMyLaptopLocal/sc_repos/leafapi_on_vm

generates

mount_macfuse: mount point /Users/arthur_at_sinai/gitOnMyLaptopLocal/sc_repos/leafapi_on_vm is itself on a macFUSE volume

But various attempts to use umount fail. E.g.,

umount /Users/arthur_at_sinai/gitOnMyLaptopLocal/sc_repos/leafapi_on_vm

generates

umount(/Users/arthur_at_sinai/gitOnMyLaptopLocal/sc_repos/leafapi_on_vm): Resource busy -- try 'diskutil unmount'

And diskutil unmount says:

Unmount failed for uid@xxx:/var/opt/leafapi/

Running macOS Big Sur.

Assistance would be greatly appreciate.

Arthur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions