I am having a problem reading the tapes written by Amanda. This is a
new install using a Seagate Travan IDE drive. Amdump seems to run fine
and there is definitely data written to tape as I can read chunks back
with 'mt fsf' and 'cp /dev/tape whatever'. However both amverify and
amrecover report end of tape almost immediately. What gives? Any help
is much appreciated.
Configuration:
debian 2.2
kernel 2.4.0
amanda 2.4.1p1-12 (debian/stable)
ide-tape version 1.16f
Seagate STT20000A (Travan TR-5 IDE)
/dev/tape symlink to /dev/nht0
=================================
amverify output:
#amverify DailySet1
Defects file is /tmp/amverify.2046/defects
amverify DailySet1
Wed Jan 24 18:15:38 EST 2001
Using device /dev/nht0
Waiting for device to go ready...
Rewinding...
Processing label...
Volume matches, Date file
Rewinding...
Reading...
End-of-Tape detected.
Rewinding...
Program ends!
=================================
end of amrecover output:
amrecover> list
TAPE Optivel-01 LEVEL 0 DATE 2001-01-23
/etc/amanda/DailySet1/tapelist~
amrecover> extract
Extracting files using tape drive /dev/tape on host localhost.
The following tapes are needed: Optivel-01
Restoring files into directory /tmp/Amanda
Continue? [Y/n]:
Load tape Optivel-01 now
Continue? [Y/n]:
EOF, check amidxtaped.debug file.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Program ends!
========================================
Contents of amidxtaped.debug:
amidxtaped: debug 1 pid 1752 ruid 34 euid 34 start time Wed Jan 24
06:55:56 2001
amidxtaped: version 2.4.1p1
> SECURITY USER root
bsd security: remote host dante.optivel.com user root local user backup
amandahosts security check passed
> 6
amrestore_nargs=6
> -h
> -p
> /dev/tape
> dante
> ^/dev/hda1$
> 20010123
Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "/dev/tape"
argv[4] = "dante"
argv[5] = "^/dev/hda1$"
argv[6] = "20010123"
amrestore: short file header block: 26624 bytes
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore: 0: reached end of tape: date
amidxtaped: amrestore terminated normally with status: 1
Rewinding tape: done
amidxtaped: pid 1752 finish time Wed Jan 24 06:56:28 2001
=============================
Thanks in advance,
Mack
--
**********************************
Mack Earnhardt
Optivel, Inc.
E-mail: [EMAIL PROTECTED]
Voice: 317.507.6274
Fax: 800.832.5615
Web: http://www.optivel.com
**********************************