1846766 Members
4582 Online
110256 Solutions
New Discussion

Re: CheckSum Error

 
Bill Ogle
Occasional Contributor

CheckSum Error

While trying to restore a file from a backup tape, I type in the following command...

# tar -xv (directory)

I then get this error:

Tar: blocksize = 2
directory checksum error

What does this mean, and how do i get around it to recover my file?

Never stop having fun!
4 REPLIES 4
Andreas Voss
Honored Contributor

Re: CheckSum Error

Hi,

try: tar -xvb
Make various samples with different blocking factors (1,2,10,20)
Wim Blom
New Member

Re: CheckSum Error

Hi Bill,

It looks like your not accessing the tape. try using tar xvf /dev/rmt/0m (directory)
or in which drive the tape is located.
(for instance /dev/rmt/1m.)
Hope it helps you along.

Regards,

Wim
Quality is our driving force
surendhar prakash.J
Frequent Advisor

Re: CheckSum Error

Hi..

Voss has given correct information and use
"ioscan -fnC tape" command and find out how many tape devices are available in the system with device files.

Use

#tar -xvfb 2 /dev/rmt/0m ( This Xtract the contents,If you get error,That means problem with ( you might have taken by using ./ or /directory)

Don't give the directory try with out that If it works then use directory.

suren.

Al Langen
Advisor

Re: CheckSum Error

Could it be possible that your tape was not written with the tar command? When a tape is created with cpio, then tar complains with a block size error.
It's not the ups and downs in life, it's the jerks. A. E. Newman