How can you verify DUMP tapes.?
Paul Goldsmith
goldfish at concour.cs.concordia.ca
Wed Mar 27 01:35:46 AEST 1991
I have been using the following to verify my tapes:
TAPE=/dev/yourtape
(
while ... ; do
mt -f ${TAPE} stat
dd if=${TAPE} bs=... of=/dev/null
done
) 2>&1
replace the "..." with the appropriate blocksizes and commands to sense the end of
tape.
This will display something like:
Exabyte EXB-8200 8mm tape drive:
sense key(0x0)= no sense residual= 0 retries= 1271
file no= 19 block no= 0
0+32 records in
0+32 records out
where the info matches up with the output of the original dump. (I use "dd" for my
dumps anyway as something like "dump ...f... ... - ... | dd of=/dev/yourtape bs=...")
While this won't tell you that every byte was correctly written and recoverable,
it will tell you that the tape got the right bytecount, and that the data is readable.
My logic is that if I didn't trust the software to do its job, I would use other
software. At least I know that the hardware didn't find any dropouts on the tape.
--
-- Paul Goldsmith
<goldfish at concour.cs.concordia.ca> (514) 848-3031
(Shirley Maclaine told me there would be LIFETIMES like this)
More information about the Comp.unix.questions
mailing list