What is the problem you are having with rclone?
vfs/refresh with recursive=true only seems to be recursing 1-2 layers deep.
What is your rclone version (output from rclone version
)
rclone v1.54.0-beta.5063.80e63af47
- os/arch: windows/amd64
- go version: go1.15.6
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, 64 bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone rc vfs/refresh -vv recursive=true --rc-addr localhost:5572 --rc-user test --rc-pass test --timeout 30m
OR
rclone rc vfs/refresh fs=GDriveStuff:/ recursive=true --rc-user test --rc-pass test -vvv --fast-list --timeout 30m
The rclone config contents with secrets removed.
[GDrive]
type = drive
client_id = CLIENTID
client_secret = CLIENTSECRET
scope = drive
token = TOKEN STUFF
[GDriveStuff]
type = crypt
remote = GDrive:Stuff
filename_encryption = standard
directory_name_encryption = true
password = PASSWORD
password2 = SALT
the rclone rc start command is run first
start rclone rcd ^
--rc-web-gui ^
--rc-addr localhost:5572 ^
--rc-user test ^
--rc-pass test ^
--cache-dir "O:\!---rclone_VFS_Cache"
Then the drive is mounted using an rc command
start rclone rc mount/mount fs=GDriveStuff:/ mountPoint=X: mountType=cmount vfsOpt="{\"CacheMode\": 3, \"PollInterval\": 15000000000, \"CachePollInterval\": 1200000000000, \"CacheMaxAge\": 31536000000000000}" mountOpt="{\"AllowOther\": true, \"AttrTimeout\": 31320000000000000, \"VolumeName\": \"GDriveStuff\"}" --rc-user test --rc-pass test
Then the refresh command is called. I can see rclone's memory usage increasing while the refresh command is running, going from < 20 MB to ~110MB by completion. Higher level folders will notice a speedup in access times (<1s, as if it was a physical disk), but by the 3rd level, the mount behaves as if the files have never been cached before and has to query Gdrive.
However, when looking at the cache-dir folder ("O:!---rclone_VFS_Cache"), nothing gets populated, it will only populate by manually going through the folders in the mounted disk.
I can see network utilization in the RC panel when manually getting the files to refresh (going into the folders and waiting), but there is no network utilization when calling vfs/refresh.
A log from the command with the -vv
flag
c:\rclone>rclone rc vfs/refresh -vv recursive=true --rc-addr localhost:5572 --rc-user test --rc-pass test --timeout 30m
2021/01/17 19:04:49 DEBUG : rclone: Version "v1.54.0-beta.5063.80e63af47" starting with parameters ["rclone" "rc" "vfs/refresh" "-vv" "recursive=true" "--rc-addr" "localhost:5572" "--rc-user" "test" "--rc-pass" "test" "--timeout" "30m"]
{
"result": {
"": "OK"
}
}
2021/01/17 19:05:40 DEBUG : 4 go routines active