rclone: cmount: failed when host.Unmount in macOS 11 Big Sur and rclone hangs for long time

What is the problem you are having with rclone?

cmount: failed when host.Unmount in macOS 11 Big Sur and rclone hangs for long time

What is your rclone version (output from rclone version)

osxfuse: 3.11.1

rclone v1.53.3
- os/arch: darwin/amd64
- go version: go1.15.4

Which cloud storage system are you using? (e.g. Google Drive)

Nextcloud WebDAV

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone cmount the-name:/ ~/mnt/test

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

2020/11/25 13:45:42 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/11/25 13:45:42 DEBUG : /: >Getattr: errc=0
2020/11/25 13:45:42 DEBUG : /: Access: mask=00
2020/11/25 13:45:42 DEBUG : /: >Access: errc=0
^C
2020/11/25 13:45:47 INFO  : Signal received: interrupt
2020/11/25 13:45:47 DEBUG : Calling host.Unmount
2020/11/25 13:45:47 DEBUG : host.Unmount failed
2020/11/25 13:45:47 DEBUG : vfs cache: cleaner exiting
2020/11/25 13:45:47 INFO  : Exiting...
2020/11/25 13:45:47 DEBUG : webdav root '': Destroy:
2020/11/25 13:45:47 DEBUG : webdav root '': >Destroy:
^C^C^C^C^C ( no response)
( after long time, rclone ends without any more outputs. )

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (10 by maintainers)

Commits related to this issue

Most upvoted comments

I observe rclone mount hanging if you ^C it or send a SIGINT, SIGTERM, etc. This happens for me every time on 4 different Macs running Monterey 12.7.2 (I’m connecting to OneDrive).

The rclone process is then no longer owned by the user who started it, becomes orphaned (PPID = 1) and /sbin/launchd refuses to let it die. I’m using rclone 1.6.4 with macFUSE 4.5.0. So I don’t think the issue has gone away.

A reliable workaround for me, that works every time, is simply to run umount [mountpoint] as the user who mounted it. This succeeds immediately, and causes rclone to terminate with a 1-line message:

ERROR : [mountpoint]: Unmounted rclone mount

and an exit status of 0.

This issue seems outdated, and I am not using rclone at the moment. So I think it’s better to close this stale one.