RClone mount show progress on copy/move windows

What is the problem you are having with rclone?

Same thing as post Rclone mount, show progress bar on copy / move?
I want a progress bar when copying/moving files around. Turning off cache does partially help with that, but the info shown is inaccurate and it tends to freeze. Also turning off cache cause a lot of other complications. Cancelling the upload seems to freeze explorer as well. I really like rclone but not knowing if I can safely shut down my computer because a transfer may not have finished is unpleasant, especially since I created mounts as separate windows services so that the mounts apply on boot so I do not have terminals to look at.

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

rclone v1.58.1

  • os/version: Microsoft Windows 10 Education 21H2 (64 bit)
  • os/kernel: 10.0.19044.1806 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.9
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone.exe mount GDrive: * --vfs-cache-mode off

The rclone config contents with secrets removed.

[GDrive]
type = drive
scope = drive
token = {"access_token":"TOKEN HERE","token_type":"Bearer","refresh_token":"TOKEN HERE AS WELL"}
team_drive = 

A log from the command with the -vv flag

2022/07/05 22:45:27 DEBUG : rclone: Version "v1.58.1" starting with parameters ["D:\\Program Files\\rclone\\rclone.exe" "mount" "GDrive:" "*" "--vfs-cache-mode" "off" "-vv"]
2022/07/05 22:45:27 DEBUG : Creating backend with remote "GDrive:"
2022/07/05 22:45:27 DEBUG : Using config file from "C:\\Users\\lukij\\AppData\\Roaming\\rclone\\rclone.conf"
2022/07/05 22:45:27 DEBUG : Google drive root '': 'root_folder_id = 0APWlPKg6tK-NUk9PVA' - save this in the config to speed up startup
2022/07/05 22:45:27 NOTICE: Assigning drive letter "W:"
2022/07/05 22:45:27 DEBUG : Network mode mounting is disabled
2022/07/05 22:45:27 DEBUG : Mounting on "W:" ("GDrive")
2022/07/05 22:45:27 DEBUG : Google drive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=GDrive"]
2022/07/05 22:45:27 DEBUG : Google drive root '': Init:
2022/07/05 22:45:27 DEBUG : Google drive root '': >Init:
2022/07/05 22:45:27 DEBUG : /: Statfs:
2022/07/05 22:45:28 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:3932160 Bfree:3197284 Bavail:3197284 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/05 22:45:28 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/05 22:45:28 DEBUG : /: >Getattr: errc=0
2022/07/05 22:45:28 DEBUG : /: Readlink:
2022/07/05 22:45:28 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2022/07/05 22:45:28 DEBUG : /: Statfs:
2022/07/05 22:45:28 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:3932160 Bfree:3197284 Bavail:3197284 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=13631488, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=14680064, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=15728640, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=16777216, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=17825792, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=18874368, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=19922944, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=20971520, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=22020096, fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=23068672, fh=0x3
2022/07/05 22:45:55 DEBUG : Zalohy/2021-12-16 09-11-01.mkv: Sending chunk 0 length 8388608
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Write: n=1048576
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Getattr: fh=0x3
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /Zalohy/2021-12-16 09-11-01.mkv: Write: ofst=24117248, fh=0x3
2022/07/05 22:45:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/05 22:45:55 DEBUG : /: >Getattr: errc=0
2022/07/05 22:45:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/05 22:45:55 DEBUG : /: >Getattr: errc=0
2022/07/05 22:46:03 DEBUG : /Zalohy/Stare_prezentacie.rar: >Read: n=31811
2022/07/05 22:46:03 DEBUG : /Zalohy/Stare_prezentacie.rar: Getattr: fh=0x2
2022/07/05 22:46:03 DEBUG : /Zalohy/Stare_prezentacie.rar: >Getattr: errc=0
2022/07/05 22:46:03 DEBUG : /Zalohy: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/05 22:46:03 DEBUG : /Zalohy: >Getattr: errc=0
2022/07/05 22:46:20 DEBUG : /: Releasedir: fh=0x5
2022/07/05 22:46:20 DEBUG : /: >Releasedir: errc=0
2022/07/05 22:46:21 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/05 22:46:21 DEBUG : /: >Getattr: errc=0
2022/07/05 22:46:21 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/07/05 22:46:21 DEBUG : /: >Getattr: errc=0
2022/07/05 22:46:21 DEBUG : /: Opendir:
2022/07/05 22:46:21 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/07/05 22:46:21 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/07/05 22:46:21 DEBUG : /: >Opendir: errc=0, fh=0x5
2022/07/05 22:46:21 DEBUG : /: Statfs:
2022/07/05 22:46:21 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:3932160 Bfree:3197284 Bavail:3197284 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/07/05 22:46:21 DEBUG : /: Releasedir: fh=0x5
2022/07/05 22:46:21 DEBUG : /: >Releasedir: errc=0
The service rclone has been stopped.
2022/07/05 22:46:27 DEBUG : Google drive root '': Checking for changes on remote

NOTE: Had to cut chunks off the log because of character limit, I tried to keep the relevant parts

Try adding the -P flag to your rclone mount command line. I'm not sure how well it works with mount but it may be what you want.

That is not ideal because I normally do not run mount via terminal. And also having to manually check if a transaction is running could cause trouble. I am looking for something like I get with my network drive, where progress is just the standard explorer window, or maybe something like this issue: Show synchronization status in Windows Explorer · Issue #4878 · rclone/rclone · GitHub

If you use a cache mode, uploads happen in the background and you can shutdown if you want to and it would resume. Does the computer not stay on? If want to know if something is done before a shutdown, use a rclone copy/move to the remote rather than a mount.

Windows Explorer is just a bad tool with fuse based mounts as it does some funky stuff overall.

If you have "off", it'll upload directly to the remote and you'd just wait for it to return. Any of that stuff is better via CLI generally since Windows and slow mounts tend to not play well together.

The issue you linked is pretty old as well as doesn't seem like it has any takers to get implemented as it's a pretty edge case (I'm not saying it's not important for you).

Oh well, maybe I will smash something together myself then. I could make a GUI app that would run rclone mount instances in separate processes and then take the built in progress and display it in tray or something. I know there is also an API but I don't think it would be better than straight up running shells in background.

Yeah, I just tend to do that via CLI rather than a GUI as I'm not a Windows guy :slight_smile:

That does neat though. Maybe rclone browser or the GUI might be something to look at if you want something along those lines.

The web GUI is neat, but not really what I am looking for. Also, it is a good excuse to get back to learning stuff.

have you seen https://kapitainsky.github.io/RcloneBrowser/
perhaps fork that.

That looks really nice NGL, will try it out.

Also, I found out that when using --progress, it only works on copy, not on mount. Is that normal? I am mounting to folder instead of drive if that makes any difference.

that is what i would expect/assume.

that is what i do, and it would not make any difference

Is there any other way to monitor the progress of mount? Maybe how much the cache is filled up?

fwiw, i do not use rclone mount to copy files, only to stream media.

well, with rclone, perhaps https://rclone.org/rc/#vfs-stats

perhaps via script, monitor the total size of the vfs file cache.
keep in mind that rclone, when possible, uses sparse files.

Well that seems to be a no-go as well. I put a 400MB file to OneDrive and watched the cache at C:\Users\USER\AppData\Local\rclone. The caches seem to be empty despite the upload. I am using the default cache location so that should not be an issue right? I am using writes mode if that makes any difference.

hard to know, without the rclone command, a debug log
and perhaps a screen snippet of the exact dir you are looking at, i assume using windows explorer?

note: the default location is a subdir of C:\Users\USER\AppData\Local\rclone

Yeah I know, there are two folders, vfs and vfsMeta. Each has more subfolders for every active mount, but they were all empty. For a moment the copied file did appear but only as a partial file with the size of 208MB. I will do some more experiments tomorrow.

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