On 26/08/2017 13:26, Paul Groves wrote:
I am having problems with extracting a tar file for a colleague.
It was created with tar / gzip on opensuse 42.1 and a md5 checksum generated and stored on a NAS.
The 42.1 box had a disk failure (which is why I keep advising everyone to use raid but they still do not listen until it goes wrong).
So 42.3 has been installed on the new disk(s) which are now in raid (which would have avoided this problem had I been listened to in the first place).
So first thing, I verified the md5 sum against the tar file which came back succesful.
so I am using tar -xvzf /mnt/BACKUP/file.tar.gz to extract the file.
But I keep getting the following error before extraction completes:
gzip: stdin: Input/output error tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now
The odd thing is it isn't happening on one file, it happens on a different one every time (but never gets to the end).
How can I recover the data in this tar file? Is there a way to ignore this error and continue anyway?
It is quite important to get this data back so I would really appreciate some help.
Try running bznew on the file, it re-compresses gzip files to bzip (bz2) files. It also has a verify mode. Make a copy of the original first. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org