2017/08/21 17:27:28 NOTICE: Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321': 0 files not in Local file system at /run/media/tadej/wd-2tb-backup/clonezilla-notebook-backup/tadej/Fedora24-ZBook-20170321
2017/08/21 17:27:28 NOTICE: Local file system at /run/media/tadej/wd-2tb-backup/clonezilla-notebook-backup/tadej/Fedora24-ZBook-20170321: 0 files not in Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321'
2017/08/21 17:27:33 NOTICE: Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321': 0 differences found
2017/08/21 17:27:33 NOTICE: Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321': 21 hashes could not be checked
My question is, why does cryptcheck report that 21 hashes could not be checked?
If it helps, there are 38 encrypted files on the remote:
$ rclone ls clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321 | wc -l
38
And running check instead of cryptcheck reports that 38 hashes could not be checked:
$ rclone check /run/media/tadej/wd-2tb-backup/clonezilla-notebook-backup/tadej/Fedora24-ZBook-20170321 clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321
2017/08/21 17:36:24 NOTICE: Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321': 0 files not in Local file system at /run/media/tadej/wd-2tb-backup/clonezilla-notebook-backup/tadej/Fedora24-ZBook-20170321
2017/08/21 17:36:24 NOTICE: Local file system at /run/media/tadej/wd-2tb-backup/clonezilla-notebook-backup/tadej/Fedora24-ZBook-20170321: 0 files not in Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321'
2017/08/21 17:36:24 NOTICE: Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321': 0 differences found
2017/08/21 17:36:24 NOTICE: Encrypted drive 'clonezilla-notebook-backup-tadej-crypted:Fedora24-ZBook-20170321': 38 hashes could not be checked
However, crypt's documentation says to use rclone cryptcheck command to check the integrity of a crypted remote instead of rclone check which can’t check the checksums properly.
This is also consistent with my experience:
As I wrote in my initial post, running rclone check to check the integrity of a crypted remote reports that hashes for all files (38 in my example) could not be checked.
On the other hand, running rclone cryptcheck reports that some hashes (21 in my example) could not be checked. I'm still puzzled why it reports that?
I see what is gong on. Until recently rclone didn’t upload sha1 hashes for large files uploaded with b2 as it would have meant making a copy of the data.
However if you try the latest beta you should find that even large files have sha1hashes. This has been enabled by a new feature in the b2 API.
Unfortunately I don't think the B2 API lets you set metadata without uploading the whole file (that is what rclone has to do to update the modified time).