What is the problem you are having with rclone?
After a big (i.e. 10TiB) copy of files from my college Google drive crypt remote to my personal Google Workspace shared drive crypt remote, I'm running cryptcheck between the two remotes to confirm the transfer went through properly.
There was one folder on which I ran cryptcheck that returned 2 errors (although it appears this was only on 1 file, with 2 errors per file [1 from each remote, presumably?]).
The error was "error computing hash: failed to hash data: unexpected EOF". There was also a message saying "retrying may help" (please see log excerpt below)
Following the advice, I retried and ran cryptcheck again on the very same subdirectory. This time, it completed without issue.
Questions
1) Should I assume everything is alright?
2) Was this just some network/rate limiting-type issue that caused a hiccup affecting the cryptcheck? Or is it likely something more serious?
3) Is there anyway to find out what exactly caused the error?
Run the command 'rclone version' and share the full output of the command.
(This version of rclone is very recent, as the latest version of rclone at the time of posting is v1.58.1)
rclone v1.58.0
- os/version: slackware 14.2+ (64 bit)
- os/kernel: 5.10.28-Unraid (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.8
- go/linking: static
- go/tags: none
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 cryptcheck "source-crypt-remote:directory/subdirectory" "dest-crypt-remote:directory/subdirectory" --one-way --bwlimit 80M -vv
The rclone config contents with secrets removed.
Paste config here
A log from the command with the -vv
flag
Error on first attempt:
2022/05/02 19:00:46 NOTICE: Encrypted drive 'dest-crypt-remote:Directory/Subdirectory': 2 differences found
2022/05/02 19:00:46 NOTICE: Encrypted drive 'dest-crypt-remote:Directory/Subdirectory': 2 errors while checking
2022/05/02 19:00:46 NOTICE: Encrypted drive 'dest-crypt-remote:Directory/Subdirectory': 3 matching files
2022/05/02 19:00:46 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 2 (retrying may help)
Checks: 4 / 4, 100%
Elapsed time: 36m58.7s
2022/05/02 19:00:46 DEBUG : 7 go routines active
2022/05/02 19:00:46 Failed to cryptcheck with 2 errors: last error was: error computing hash: failed to hash data: unexpected EOF
Result on second attempt:
2022/05/02 19:45:30 NOTICE: Encrypted drive 'dest-crypt-remote:Directory/Subdirectory': 0 differences found
2022/05/02 19:45:30 NOTICE: Encrypted drive 'dest-crypt-remote:Directory/Subdirectory': 4 matching files