Hi :-) - I own the devil, a "Onstream DI-30 fast" - drive.
I am able to run amlabel and "amdump Daily" without errors.
When I run "amrecover Daily", this is what I get:

-------------------------------------------------------------------
aktilinux:/ # mt -f /dev/nosst0 rewind
aktilinux:/ # mt -f /dev/nosst0 fsf 1
aktilinux:/ # amrecover Daily
AMRECOVER Version 2.4.2. Contacting server on localhost ...
220 aktilinux AMANDA index server (2.4.2) ready.
200 Access OK
Setting restore date to today (2002-05-11)
200 Working date set to 2002-05-11.
200 Config set to Daily.
501 No index records for host: aktilinux. Invalid?
Trying aktilinux.local ...
200 Dump host set to aktilinux.local.
$CWD '/' is on disk 'hda3' mounted at '/'.
200 Disk set to hda3.
/
amrecover> lcd /home/dandy/temp/samba
amrecover> cd /home/dandy/temp/samba
/home/dandy/temp/samba
amrecover> ls -l
Invalid command - parse error
amrecover> add samba-latest.tar
Added /home/dandy/temp/samba/samba-latest.tar
amrecover> extract
 
Extracting files using tape drive /dev/nosst0 on host localhost.
The following tapes are needed: DailySet1001
 
Restoring files into directory /home/dandy/temp/samba
Continue? [Y/n]: y
 
Load tape DailySet1001 now
Continue? [Y/n]: y
EOF, check amidxtaped.debug file on localhost.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue? [Y/n]: y
amrecover>
-------------------------------------------------------------------

I have also tried it without the fsf 1 command. Same problem
Here is my amidxtaped.debug:

amidxtaped: debug 1 pid 3040 ruid 37 euid 37 start time Sat May 11 12:12:30
2002
amidxtaped: version 2.4.2
> SECURITY USER root
bsd security: remote host aktilinux.local user root local user amanda
amandahosts security check passed
> 6
amrestore_nargs=6
> -h
> -p
> /dev/nosst0
> aktilinux.local
> ^hda3$
> 20020511
Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "/dev/nosst0"
argv[4] = "aktilinux.local"
argv[5] = "^hda3$"
argv[6] = "20020511"
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore:   0: skipping aktilinux.local.hda1.20020511.0
amidxtaped: amrestore terminated normally with status: 0
Rewinding tape: done
amidxtaped: pid 3040 finish time Sat May 11 12:12:37 2002

-------------------------------------------------------------------

here's what my logfiles say:

extract from: /var/log/messages
May 11 01:23:47 aktilinux kernel: scsi0 : SCSI host adapter emulation for
IDE ATAPI devices
May 11 01:23:47 aktilinux kernel:   Vendor: OnStream  Model: DI-30          
  Rev: 1.09
May 11 01:23:47 aktilinux kernel:   Type:   Sequential-Access               
  ANSI SCSI revision: 02
May 11 01:23:47 aktilinux kernel: osst :I: Tape driver with OnStream support
version 0.9.10
May 11 01:23:47 aktilinux kernel: osst :I: $Id: osst.c,v 1.65 2001/11/11
20:38:56 riede Exp $
May 11 01:23:47 aktilinux kernel: osst :I: Attached OnStream DI-30 tape at
scsi0, channel 0, id 0, lun 0 as osst0

extract from: dmesg|more
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: OnStream  Model: DI-30             Rev: 1.09
  Type:   Sequential-Access                  ANSI SCSI revision: 02
osst :I: Tape driver with OnStream support version 0.9.10
osst :I: $Id: osst.c,v 1.65 2001/11/11 20:38:56 riede Exp $
osst :I: Attached OnStream DI-30 tape at scsi0, channel 0, id 0, lun 0 as
osst0


What can poor me do other than throw the drive out the window ;-)

Thanks in advance,

Henrik Bro Larsen

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Reply via email to