The tape drive is a Tandberg TDC 3820:
# mt status
SCSI 1 tape drive:
File number=0, block number=0.
Tape block size 512 bytes. Density code 0x10 (QIC-150/250 (GCR 10000 bpi)).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
Reading further down the man page for xfsdump I discovered -q for QIC
drives:
-q Destination tape drive is a QIC tape. QIC tapes only
use a 512 byte blocksize, for which xfsdump must make
special allowances.
Using this option xfsdump works properly:
# xfsdump -J -F -q -f /dev/st0 /var/mrtg
xfsdump: using scsi tape (drive_scsitape) strategy
xfsdump: version 3.0 - Running single-threaded
xfsdump: WARNING: no session label specified
xfsdump: level 0 dump of apollo.berdmann.de:/var/mrtg
xfsdump: dump date: Sun Dec 8 13:20:36 2002
xfsdump: session id: 5e94e959-40c2-4f11-ae7f-056d6eae5780
xfsdump: session label: ""
xfsdump: ino map phase 1: skipping (no subtrees specified)
xfsdump: ino map phase 2: constructing initial dump list
xfsdump: ino map phase 3: skipping (no pruning necessary)
xfsdump: ino map phase 4: skipping (size estimated in phase 2)
xfsdump: ino map phase 5: skipping (only one dump stream)
xfsdump: ino map construction complete
xfsdump: estimated dump size: 4899584 bytes
xfsdump: preparing drive
xfsdump: bad media file header at BOT indicates foreign or corrupted tape
xfsdump: WARNING: media contains non-xfsdump data or a corrupt xfsdump
media file header at beginning of media
xfsdump: WARNING: repositioning to overwrite
xfsdump: creating dump session media file 0 (media 0, file 1)
xfsdump: dumping ino map
xfsdump: dumping directories
xfsdump: dumping non-directory files
xfsdump: ending media file
xfsdump: media file size 8388608 bytes
xfsdump: dump size (non-dir files) : 5388560 bytes
xfsdump: dump complete: 129 seconds elapsed
xfsdump: Dump Status: INCOMPLETE
|