What is the problem you are having with rclone?
I'm using RClone to mount a share on my Unraid server. This is needed to make a certain backup application I'm using to actually backup the server.
The problem is that the read frequently stalls for long periods of time. When it is actually reading the transfer speed is fair, but it stops several times a day for extended periods (I haven't been able to measure this as I can't just sit and stare at task manager forever).
I'm assuming I'm doing something wrong with the vfs or cache settings, but I have no idea what that could be. Perhaps the cache being full and not being cleaned? The backup application also requires write access to work.
I've let it run for well over a week now, and I've been able to upload about 7TB out of 21
I've also noticed that just browsing the mount in Windows file explorer shows that it is slow to update if files are added/removed on the server. I would want this to behave as close as possible to a direct network mount.
What is your rclone version (output from rclone version
)
v1.56.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
WIndows 10 21H1 64Bit
Which cloud storage system are you using? (eg Google Drive)
Local Unraid samba share
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
mount --allow-other --file-perms 0666 --dir-perms 0777 --dir-cache-time 72h --drive-chunk-size 64M --log-level INFO --vfs-read-chunk-size-limit off "\\TOWER\media" X: --config "rclone.conf" --vfs-cache-mode writes --volname Media
The rclone config contents with secrets removed.
[unraid]
type = alias
remote = local:\\TOWER\media
A log from the command with the -vv
flag
2021/08/07 14:14:00 DEBUG : rclone: Version "v1.56.0" starting with parameters ["C:\\RClone\\rclone.exe" "mount" "--allow-other" "--file-perms" "0666" "--dir-perms" "0777" "--dir-cache-time" "72h" "--drive-chunk-size" "64M" "--vfs-read-chunk-size-limit" "off" "\\\\TOWER\\media" "X:" "--config" "C:\\Users\\inste\\.config\\rclone\\rclone.conf" "--vfs-cache-mode" "writes" "--volname" "Media" "-vv"]
2021/08/07 14:14:00 DEBUG : Creating backend with remote "\\\\TOWER\\media"
2021/08/07 14:14:00 NOTICE: Config file "C:\\Users\\inste\\.config\\rclone\\rclone.conf" not found - using defaults
2021/08/07 14:14:00 DEBUG : fs cache: renaming cache item "\\\\TOWER\\media" to be canonical "//?/UNC/TOWER/media"
2021/08/07 14:14:00 NOTICE: --allow-other flag does nothing on Windows
2021/08/07 14:14:00 INFO : Local file system at //?/UNC/TOWER/media: poll-interval is not supported by this remote
2021/08/07 14:14:00 DEBUG : vfs cache: root is "\\\\?\\C:\\Users\\inste\\AppData\\Local\\rclone\\vfs\\local\\UNC\\TOWER\\media"
2021/08/07 14:14:00 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\inste\\AppData\\Local\\rclone\\vfs\\local\\UNC\\TOWER\\media"
2021/08/07 14:14:00 DEBUG : Creating backend with remote "\\\\?\\C:\\Users\\inste\\AppData\\Local\\rclone\\vfs\\local\\UNC\\TOWER\\media"
2021/08/07 14:14:00 DEBUG : fs cache: renaming cache item "\\\\?\\C:\\Users\\inste\\AppData\\Local\\rclone\\vfs\\local\\UNC\\TOWER\\media" to be canonical "//?/C:/Users/inste/AppData/Local/rclone/vfs/local/UNC/TOWER/media"
2021/08/07 14:14:00 DEBUG : fs cache: switching user supplied name "\\\\?\\C:\\Users\\inste\\AppData\\Local\\rclone\\vfs\\local\\UNC\\TOWER\\media" for canonical name "//?/C:/Users/inste/AppData/Local/rclone/vfs/local/UNC/TOWER/media"
2021/08/07 14:14:00 DEBUG : Network mode mounting is disabled
2021/08/07 14:14:00 DEBUG : Mounting on "X:" ("Media")
2021/08/07 14:14:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:14:00 DEBUG : Local file system at //?/UNC/TOWER/media: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=Media"]
2021/08/07 14:14:00 DEBUG : Local file system at //?/UNC/TOWER/media: Init:
2021/08/07 14:14:00 DEBUG : Local file system at //?/UNC/TOWER/media: >Init:
2021/08/07 14:14:00 DEBUG : /: Statfs:
2021/08/07 14:14:00 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:9275983458 Bfree:3737087023 Bavail:3737087023 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Readlink:
2021/08/07 14:14:00 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2021/08/07 14:14:00 DEBUG : /: Statfs:
2021/08/07 14:14:00 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:9275983458 Bfree:3737087023 Bavail:3737087023 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Opendir:
2021/08/07 14:14:00 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:00 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:00 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:00 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:00 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Opendir:
2021/08/07 14:14:00 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:00 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:00 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:00 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:00 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:00 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:00 DEBUG : /: Opendir:
2021/08/07 14:14:00 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:00 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:00 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:00 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:00 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:03 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:03 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/08/07 14:14:03 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:03 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/08/07 14:14:03 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:03 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/08/07 14:14:03 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:03 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:03 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:03 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:03 DEBUG : /: Opendir:
2021/08/07 14:14:03 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:03 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:03 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:03 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:03 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:03 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:03 DEBUG : /AutoRun.inf: >Getattr: errc=-2
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Opendir:
2021/08/07 14:14:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:09 DEBUG : /: Statfs:
2021/08/07 14:14:09 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:9275983458 Bfree:3737087023 Bavail:3737087023 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/08/07 14:14:09 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:09 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Opendir:
2021/08/07 14:14:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:09 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:09 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Opendir:
2021/08/07 14:14:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:09 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:09 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/07 14:14:09 DEBUG : /: >Getattr: errc=0
2021/08/07 14:14:09 DEBUG : /: Opendir:
2021/08/07 14:14:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/07 14:14:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/07 14:14:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/07 14:14:09 DEBUG : /: Releasedir: fh=0x0
2021/08/07 14:14:09 DEBUG : /: >Releasedir: errc=0
2021/08/07 14:15:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:16:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:17:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:18:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:19:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:20:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/08/07 14:21:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)