Lars Olsson <[email protected]> writes:

> 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.

What does this mean, full of errors? Some files bad or all files bad?

> 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 🙂).

What about testing the files directly on the USB in Linux without
copying them anywhere? If they work from there but not after copying to
Linux, transfer or storage is bad.

> 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). 

Another easy thing to check is copying the files back from Linux. If
they're still good by Windows, at least your transfer method and storage
are solid. If not, they got corrupted somehow, either during transport
or storing to Linux.

> 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

I think you'll have to do a little better than that for a bug report.
At least try to find out some figure on how many files are needed to
cause this. Or is it enough to have just one file in the archive?

Reply via email to