Rclone mount doesn't work

What is the problem you are having with rclone?

I want to mount my onedrive on my PC, but it doesn't show the remote disk after I run the command

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.0

  • os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
  • os/kernel: 10.0.19044.1766 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.18.3
  • go/linking: static
  • go/tags: cmount

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)

C:\rclone\rclone.exe mount --vfs-cache-mode full odrivehvhtcs: G:

The rclone config contents with secrets removed.

[odrivehvhtcs]
type = onedrive
token = {"access_token"}
drive_id = 
drive_type = business

A log from the command with the -vv flag

2022/07/14 18:35:43 DEBUG : rclone: Version "v1.59.0" starting with parameters ["rclone.exe" "mount" "--vfs-cache-mode" "full" "odrivehvhtcs:" "G:" "-vv"]
2022/07/14 18:35:43 DEBUG : Creating backend with remote "odrivehvhtcs:"
2022/07/14 18:35:43 DEBUG : Using config file from "C:\\Users\\Yuny Ty\\AppData\\Roaming\\rclone\\rclone.conf"
2022/07/14 18:35:44 DEBUG : One drive root '': Next delta token is: 
2022/07/14 18:35:44 DEBUG : vfs cache: root is "C:\\Users\\Yuny Ty\\AppData\\Local\\rclone"
2022/07/14 18:35:44 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\Yuny Ty\\AppData\\Local\\rclone\\vfs\\odrivehvhtcs"
2022/07/14 18:35:44 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\Yuny Ty\\AppData\\Local\\rclone\\vfsMeta\\odrivehvhtcs"
2022/07/14 18:35:44 DEBUG : Creating backend with remote "C:/Users/Yuny Ty/AppData/Local/rclone/vfs/odrivehvhtcs/"
2022/07/14 18:35:44 DEBUG : fs cache: renaming cache item "C:/Users/Yuny Ty/AppData/Local/rclone/vfs/odrivehvhtcs/" to be canonical "//?/C:/Users/Yuny Ty/AppData/Local/rclone/vfs/odrivehvhtcs/"
2022/07/14 18:35:44 DEBUG : Creating backend with remote "C:/Users/Yuny Ty/AppData/Local/rclone/vfsMeta/odrivehvhtcs/"
2022/07/14 18:35:44 DEBUG : fs cache: renaming cache item "C:/Users/Yuny Ty/AppData/Local/rclone/vfsMeta/odrivehvhtcs/" to be canonical "//?/C:/Users/Yuny Ty/AppData/Local/rclone/vfsMeta/odrivehvhtcs/"
2022/07/14 18:35:44 DEBUG : Network mode mounting is disabled
2022/07/14 18:35:44 DEBUG : Mounting on "G:" ("odrivehvhtcs")
2022/07/14 18:35:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/07/14 18:35:44 DEBUG : One drive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=odrivehvhtcs"]
2022/07/14 18:35:44 DEBUG : One drive root '': Init:
2022/07/14 18:35:44 DEBUG : One drive root '': >Init:
2022/07/14 18:35:44 DEBUG : /: Statfs:
2022/07/14 18:35:45 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1310720000 Bfree:1151719411 Bavail:1151719411 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: Readlink:
2022/07/14 18:35:45 DEBUG : /: >Readlink: linkPath="", errc=-40
2022/07/14 18:35:45 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2022/07/14 18:35:45 DEBUG : /: >Getxattr: errc=-40, value=""
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: Opendir:
The service rclone has been started.
2022/07/14 18:35:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/14 18:35:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/14 18:35:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/14 18:35:45 DEBUG : /: Statfs:
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1310720000 Bfree:1151719411 Bavail:1151719411 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: Releasedir: fh=0x0
2022/07/14 18:35:45 DEBUG : /: >Releasedir: errc=0
2022/07/14 18:35:45 DEBUG : /: Opendir:
2022/07/14 18:35:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/14 18:35:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/14 18:35:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/14 18:35:45 DEBUG : /: Releasedir: fh=0x0
2022/07/14 18:35:45 DEBUG : /: >Releasedir: errc=0
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/14 18:35:45 DEBUG : /: >Getattr: errc=0
2022/07/14 18:35:45 DEBUG : /: Opendir:
2022/07/14 18:35:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/14 18:35:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/14 18:35:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/07/14 18:35:45 DEBUG : /: Releasedir: fh=0x0
2022/07/14 18:35:45 DEBUG : /: >Releasedir: errc=0

Check out:

rclone mount

1 Like

Thank you @Animosity022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.