What is the problem you are having with rclone?
After pressing Ctrl-C to attempt to unmount rclone, I received error
Fatal error: failed to umount FUSE fs: exit status 1: fusermount: failed to chdir to /my/home/dir: Permission denied
/my/home/dir
is a placeholder for my real user home directory. I'm not sure whether the unmount operation was successful. Maybe not.
When I tried to remount to the same mount point ~/onedrive
, I got error:
Fatal error: Can not open: /my/home/dir/onedrive: open /my/home/dir/onedrive: transport endpoint is not connected
If I type mount
command, there is an entry of rclone onedrive:
onedrive: on /my/home/dir/onedrive type fuse.rclone (rw,nosuid,nodev,relatime,user_id=...,group_id=...)
So how can I remove this entry and remount to the same mount point?
What is your rclone version (output from rclone version
)
Environment:
- A remote Linux node (ubuntu). I am not the super user.
rclone version
returns
rclone v1.50.2
- os/arch: linux/amd64
- go version: go1.14.4
Which cloud storage system are you using? (eg Google Drive)
Microsoft OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Environment:
- A remote Linux node (ubuntu). I am not the super user.
This is the command to mount OneDrive:
rclone --vfs-cache-mode writes mount onedrive: ~/onedrive
Then I press Ctrl-C in hope of a clean unmount but got the error described above.
Below is one command I tried to unmount:
fusermount -u ~/onedrive
I got
fusermount: failed to chdir to /my/home/dir: Permission denied
Below is another command I tried to unmount:
umount -l ~/onedrive
I got
umount: /my/home/dir/onedrive: Transport endpoint is not connected
The rclone config contents with secrets removed.
[onedrive]
type = onedrive
token = {"access_token":"... secrets removed ...","token_type":"Bearer","refresh_token":" .. secrets removed ... ","expiry":"2021-11-06T21:11:58.82838012-04:00"}
drive_id = ... secrets removed ...
drive_type = business
A log from the command with the -vv
flag
rclone -vv --vfs-cache-mode writes mount onedrive: ~/onedrive
2021/11/06 21:14:33 DEBUG : rclone: Version "v1.50.2" starting with parameters ["rclone" "-vv" "--vfs-cache-mode" "writes" "mount" "onedrive:" "/my/home/dir/onedrive"]
2021/11/06 21:14:33 DEBUG : Using config file from "/my/home/dir/.config/rclone/rclone.conf"
2021/11/06 21:14:34 Fatal error: Can not open: /my/home/dir/onedrive: open /my/home/dir/onedrive: transport endpoint is not connected