[linux] Damaged bzip'd tar files
rwlucas at u.washington.edu
Thu Sep 30 10:15:44 PDT 2004
>Is the corruption affecting bz2 or tar? Instead of running as one
>command (`tar -xjf <file>`), try as separate actions:
>`tar -xv <file>`
The command used to make the files was:
tar -cjvf important.tbz2 vital_dir/
So there weren't any other options used unless they were defaults I was unaware of.
The corruption is clearly with the bzip2 compression. Trying to bunzip2 important.tbz2 give errors, using bzip2recover I get back 171 chunks. I can then bunzip2 most of those, except for chunks 12,27,58,65,72,110, and 133.
The chunks then represent a tar file, and I don't know how to make tar work in the middle of an archive (ie I can't untar around the bad chunks?)
Robert Lucas rlucas at alumni.uci.edu
Department of Biochemistry Phone: (206) 616-4510
HHMI & Univ. of Washington Fax: (206) 685-7002
Health Science Bldg., Room K-428 Box 357742, Seattle, WA 98195
More information about the Linux