Hi,

I have read this page<https://www.debian.org/Bugs/Reporting>and followed the 
advice to send a request for help here, because I don't know what package that 
is causing the error. I have been using computers since 1982 and Linux since 
late 90:s, but I am not a programmer. Only a spare time user and I am nota bene 
not error free myself.

If I have to give the error a name it should perhaps be »Huge files gets 
corrupted on Linux».

I can't solve the error myself. The error didn't exist a year ago. I need 
advice on how to bug-report.

I have two folders with a large amount of files that I want to make a static 
backup of (I make regular rsync-backups, but I want a static backup every year 
or so). One folder is about 80 GB in size and the other around 100GB.

I make two big 7z archives of each folder, but when I test the archives with 
»7z t» 7z reports that the archive is full of errors. It makes no difference if 
I make one huge archive or split them into 4 gigabyte or 2 gigabyte parts. Same 
result when I test with zip. (I have not tested tar, gz, xz or any other of the 
more Linux typical apps mostly because I haven't found a password option in any 
of them). If I do like this:

7z a -mx0 -p****** -r -sccUTF-8 -scsUTF-8 -t7z -v2g 
/media/myname/233gb/users/archive-251231.7z Folderwithmanyfiles

The errors on the archive files are printed like this.

ERROR: CRC Failed in encrypted file. Wrong password? : 
OneDrive/Bilder/Album/2006/20060711-13.jpg
ERROR: CRC Failed in encrypted file. Wrong password? : 
OneDrive/Bilder/Album/2012/20120800-51.jpg
ERROR: CRC Failed in encrypted file. Wrong password? : 
OneDrive/Bilder/Album/2018/20180716_142024.jpg
ERROR: CRC Failed in encrypted file. Wrong password? : 
OneDrive/Bilder/Album/2020/20200920_143408.jpg
ERROR: CRC Failed in encrypted file. Wrong password? : 
OneDrive/Bilder/Album/2021/20210421_192137.jpg
ERROR: CRC Failed in encrypted file. Wrong password? : 
OneDrive/Bilder/Album/2021/20210918_130243.jpg


  1.
The errors does luckily not appear in older archives from 2024 and 2023.

  2.
The errors only appear when I make new archives, regardless if they are two 
huge files or split into 4Gb och 2Gb files.

  3.
The errors does not occur if I make the archives on my older and much slower 
Win-laptop.

  4.
If I take the time to make the archives on Windows they are error-free (as 
expected), and when I then move them to my Debian computer with or via an 
external USB-drive, the errors occur on the files when they are copied to Linux 
regardless if the external usb-drive is formatted with ext4, ntfs or exfat. 
(you can imagine the amount of time I've put on testing 🙂).

  5.
It also happens if I instead try to copy the files made on Windows to my Debian 
computer via scp (haven't tested with ftp).

The error should be easy but rather time-consuming to reproduce. Just do 
something like below on a huge folder with thousands of files. The archive 
files I make are put on a usb-drive and I tested with two different usb-drives 
(actually one SSD in a cheap cabinet and one M.2 NVMe in an ASUS TUF cabinet, 
highly recommended).

7z a -mx0 -p****** -r -sccUTF-8 -scsUTF-8 -t7z -v2g 
/media/myname/233gb/users/archive-251231.7z Folderwithmanyfiles

Best regards
Lars

Reply via email to