Rclone mount --ignore-checksum returns hash errors

Am I doing this wrong? Is there a better way?

The bucket is server-side encrypted, and I don't know where rclone gets the hash to compare (i.e. before or after encryption). But the mount command spits out has errors when I look at a file on the mount.

What is the problem you are having with rclone?

rclone mount:
--ignore-checksum has no effect, still spits out errors

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

rclone v1.63.0

  • os/version: arch "rolling" (64 bit)
  • os/kernel: 6.4.3-arch1-1 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.5
  • go/linking: dynamic
  • go/tags: none

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

iDrive S3 compatible

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

rclone mount -v --log-file=mount.log --ignore-checksum iDrive:bucket/dir ~/RemoteMount

The rclone config contents with secrets removed.

[iDrive]
type = s3
provider = IDrive
access_key_id = x
secret_access_key = y
endpoint = e7h4.da.idrivee2-16.com

A log from the command with the -vv flag

2023/07/16 15:16:03 ERROR : IO error: corrupted on transfer: md5 hash differ "bae14e3216119edaea7462069ef92b32" vs "d22ae51950be6e481cabcff1abfa23af"
2023/07/16 15:16:03 ERROR : 11/01/IMG_20181101_200951.jpg: ReadFileHandle.Release error: corrupted on transfer: md5 hash differ "bae14e3216119edaea7462069ef92b32" vs "d22ae51950be6e481cabcff1abfa23af"
2023/07/16 15:16:03 ERROR : IO error: corrupted on transfer: md5 hash differ "bae14e3216119edaea7462069ef92b32" vs "d22ae51950be6e481cabcff1abfa23af"
2023/07/16 15:16:03 ERROR : 11/01/IMG_20181101_201003.jpg: ReadFileHandle.Flush error: corrupted on transfer: md5 hash differ "ad449af6f722723c4465dc851ade0f54" vs "1a7962a91fcff837ecae4b028b012543"
2023/07/16 15:16:03 ERROR : IO error: corrupted on transfer: md5 hash differ "ad449af6f722723c4465dc851ade0f54" vs "1a7962a91fcff837ecae4b028b012543"
2023/07/16 15:16:03 ERROR : 11/01/IMG_20181101_201003.jpg: ReadFileHandle.Release error: corrupted on transfer: md5 hash differ "ad449af6f722723c4465dc851ade0f54" vs "1a7962a91fcff837ecae4b028b012543"
2023/07/16 15:16:03 ERROR : IO error: corrupted on transfer: md5 hash differ "ad449af6f722723c4465dc851ade0f54" vs "1a7962a91fcff837ecae4b028b012543"
... and a lot more of the same for other files in the directory

Yes, I already read the docs for the flag "Normally rclone will check that the checksums of transferred files match" but I expect that when I read a mounted file, that file must be "transferred" so I expect --ignore-checksum should be in effect!

And in the rclone mount command, the docs call this flag --no-checksum. I tried that too and the result is the same.

DOH! Apparently, if use BOTH --ignore-checksum AND --no-checksum, the errors go away.

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