What is the problem you are having with rclone?
Lots of corrupted files when copying to a net drive on Windows.
On average I see an error for every 40~50 files.
My setup:
- C: is a local disk on a window machine
- Z: is a windows net drive, mapped from a samba share on an Ubuntu machine
- The source directories contains lots of small image files, typically between 256KB and 512KB.
To rule out other factors, I have also tried the following and found no errors:
- Copy from from C: to Z: using Windows Explorer, then check hashsum
- Use rclone to copy from C:\files to C:\files2
Run the command 'rclone version' and share the full output of the command.
rclone v1.57.0
- os/version: Microsoft Windows 10 Home 2009 (64 bit)
- os/kernel: 10.0.19042.1526 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.17.2
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Windows net drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy C:\files Z:\files
The rclone config contents with secrets removed.
N/A
A log from the command with the -vv
flag
2022/02/20 20:12:11 DEBUG : rclone: Version "v1.57.0" starting with parameters ["C:\\Users\\user\\bin\\rclone.exe" "--progress" "-vv" "--log-file" "C:\\Users\\user\\Desktop\\rclone.log" "copy" "C:\\Users\\user\\files" "Z:\\user\\files"]
2022/02/20 20:12:11 DEBUG : Creating backend with remote "C:\\Users\\user\\files"
2022/02/20 20:12:11 DEBUG : Using config file from "C:\\Users\\user\\AppData\\Roaming\\rclone\\rclone.conf"
2022/02/20 20:12:11 DEBUG : fs cache: renaming cache item "C:\\Users\\user\\files" to be canonical "//?/C:/Users/user/files"
2022/02/20 20:12:11 DEBUG : Creating backend with remote "Z:\\user\\files"
2022/02/20 20:12:11 DEBUG : fs cache: renaming cache item "Z:\\user\\files" to be canonical "//?/Z:/user/files"
...
2022/02/20 20:12:14 DEBUG : test-rclone/0006296.jpg: md5 = a768e96e5a720081c2dd496304de8bd7 OK
2022/02/20 20:12:14 INFO : test-rclone/0006296.jpg: Copied (new)
2022/02/20 20:12:14 ERROR : test-rclone/0006297.jpg: corrupted on transfer: sizes differ 328388 vs 328374
2022/02/20 20:12:14 DEBUG : test-rclone/0006298.jpg: md5 = b0ebdaced2b552b8f2824f35109580fc OK
2022/02/20 20:12:14 INFO : test-rclone/0006297.jpg: Removing failed copy
2022/02/20 20:12:14 INFO : test-rclone/0006298.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006299.jpg: md5 = 14551cf849ac842356c750850c46a511 OK
2022/02/20 20:12:14 INFO : test-rclone/0006299.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006300.jpg: md5 = ebec29cbfc8fdbf4a76f615b692a0b6e OK
2022/02/20 20:12:14 INFO : test-rclone/0006300.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006302.jpg: md5 = 523414785e70e52c45cf3b53f0c6e307 OK
2022/02/20 20:12:14 INFO : test-rclone/0006302.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006301.jpg: md5 = 1f4a92ff3aaa3f4cdf7d248123899fd7 OK
2022/02/20 20:12:14 INFO : test-rclone/0006301.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006303.jpg: md5 = 25a24b32a3e07339139a325e9c411bf6 OK
2022/02/20 20:12:14 INFO : test-rclone/0006303.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006304.jpg: md5 = 65ce75d5f243d7efbc149e22dc5b1c8a OK
2022/02/20 20:12:14 INFO : test-rclone/0006304.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006306.jpg: md5 = 741b6a6219d27569b9f1b16af43fc659 OK
2022/02/20 20:12:14 INFO : test-rclone/0006306.jpg: Copied (new)
2022/02/20 20:12:14 DEBUG : test-rclone/0006305.jpg: md5 = 856d265a8621b2c903577503b1e106f0 OK
2022/02/20 20:12:14 INFO : test-rclone/0006305.jpg: Copied (new)
2022/02/20 20:12:14 ERROR : test-rclone/0006307.jpg: corrupted on transfer: sizes differ 328309 vs 328302
2022/02/20 20:12:14 INFO : test-rclone/0006307.jpg: Removing failed copy
...