[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tar, backup tape problem



Greetings:

When trying to install the latest Apache from source, the ./configure 
script hung.  Tracing the problem, I found it was a call to `tar 
--version 2`:

[root:/usr/local]$ tar --version 2
tar: Cannot identify format. Searching...
tar: Invalid header, starting valid header search.
tar: Cpio file name length 5142 is out of range
tar: Cpio file name length 5137 is out of range
etc., etc.
tar: Cpio file name in header is corrupted
^C
tar: Signal caught, cleaning up.
tar: Waiting for tape drive close to complete...done.

Because of that last line, I suspect the problem may be due to a backup 
tape script that I'm running on a weekly basis:

#!/bin/sh
mt -f /dev/rst0 rewind
dump -0ua -f /dev/rst0 /
dump -0ua -f /dev/rst0 /usr
dump -0ua -f /dev/rst0 /var
dump -0ua -f /dev/rst0 /home
mt -f /dev/rst0 rewind

Can someone tell me what I'm doing wrong?

Thanks.
-- 
All the best (Adéu-siau),
Lou Hevly
lou@visca.com
http://www.visca.com