Verifying Tape Writes

Aron Burns aronb at gkcl.ists.ca
Tue Dec 4 02:44:08 AEST 1990


In article <528 at mermaid.Litle.Com> tom at mermaid.litle.com (Tom Hampton) writes:
>We had thought that printing out a catalog of a tape's
>contents prooved that the tape would be restoreable:
>
>cpio -itvB </dev/tape
>
>In practice, we have found that the above commamd completes
[...]
>Any suggestions?

To verify that the media is good, try
dd if=/dev/tape of=/dev/null
and if you see something liek
35000+0 blocks in
35000+0 blocks out
this tells you that the same number of blocks went in as out ( should
always happen ) and that there were no retries (+0). This does not 
verify that the tape info matches the disk info, only that the
media is good.  



Aaron Burns      	     "Nothing I say on the net is binding
aronb at gkcl.ists.ca         to our corporation"
Toronto, Ontario         "Life is a forge, and the purest metal
(416)392-4310             comes from the hottest fire"



More information about the Comp.unix.admin mailing list