Amanda-Users

amtapetype problems

2006-08-18 14:26:30
Subject: amtapetype problems
From: "Nick Jones" <nicholas-jones AT uiowa DOT edu>
To: amanda-users AT amanda DOT org
Date: Fri, 18 Aug 2006 12:13:22 -0500
Hello everyone, I'm attempting to set up amanda on my YDL 4.1 XServe
G5.  I've compiled the app and everything seems well.   I have
modified the kernel (according to Overland) so that my tape library
(Overland Loaderxpress with 1 LTO-3 drive, 11 slot tape).   Heres the
output of some stuff.

[root@alienraid sbin]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
 Vendor: ATA      Model: Hitachi HDS72258 Rev: V32B
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 04 Lun: 00
 Vendor: HP       Model: Ultrium 3-SCSI   Rev: G24H
 Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi5 Channel: 00 Id: 06 Lun: 00
 Vendor: OVERLAND Model: LXB              Rev: 0107
 Type:   Medium Changer                   ANSI SCSI revision: 02
Host: scsi6 Channel: 00 Id: 00 Lun: 00
 Vendor: APPLE    Model: Xserve RAID      Rev: 1.26
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi7 Channel: 00 Id: 00 Lun: 00
 Vendor: APPLE    Model: Xserve RAID      Rev: 1.50
 Type:   Direct-Access                    ANSI SCSI revision: 05

[root@alienraid sbin]# cat /var/log/messages* | grep scsi | grep  "Aug 10"
Aug 10 00:01:30 alienraid kernel: scsi0 : sata_svw
Aug 10 00:01:30 alienraid kernel: scsi1 : sata_svw
Aug 10 00:01:30 alienraid kernel: scsi2 : sata_svw
Aug 10 00:01:30 alienraid kernel: scsi3 : sata_svw
Aug 10 00:01:30 alienraid kernel: sd 0:0:0:0: Attached scsi disk sda
Aug 10 00:01:31 alienraid kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Aug 10 00:01:31 alienraid kernel: scsi4 : ioc0: LSI53C1030,
FwRev=01032700h, Ports=1, MaxQ=255, IRQ=53
Aug 10 00:01:31 alienraid kernel: scsi5 : ioc1: LSI53C1030,
FwRev=01032700h, Ports=1, MaxQ=255, IRQ=53
Aug 10 00:01:31 alienraid kernel: st 5:0:4:0: Attached scsi tape
st0<4>st0: try direct i/o: yes (alignment 512 B), max page reachable
by HBA 524288
Aug 10 00:01:31 alienraid kernel: st 5:0:4:0: Attached scsi generic sg1 type 1
Aug 10 00:01:31 alienraid kernel:  5:0:6:0: Attached scsi generic sg2 type 8
Aug 10 00:01:31 alienraid kernel: scsi6 : ioc2: LSIFC929X,
FwRev=01010b00h, Ports=1, MaxQ=1023, IRQ=52
Aug 10 00:01:31 alienraid kernel: sd 6:0:0:0: Attached scsi disk sdb
Aug 10 00:01:31 alienraid kernel: sd 6:0:0:0: Attached scsi generic sg3 type 0
Aug 10 00:01:31 alienraid kernel: scsi7 : ioc3: LSIFC929X,
FwRev=01010b00h, Ports=1, MaxQ=1023, IRQ=52
Aug 10 00:01:32 alienraid kernel: sd 7:0:0:0: Attached scsi disk sdc
Aug 10 00:01:32 alienraid kernel: sd 7:0:0:0: Attached scsi generic sg4 type 0

I've tried

[root@alienraid sbin]# ./amtapetype -f /dev/nst0
[root@alienraid sbin]# ./amtapetype -f /dev/st0
[root@alienraid sbin]# ./amtapetype -f /dev/sg0
[root@alienraid sbin]# ./amtapetype -f /dev/sg1
[root@alienraid sbin]# ./amtapetype -f /dev/sg2

With no luck, I get either:
amtapetype: could not open /dev/nst0: Input/output error
or
amtapetype: could not rewind device /dev/nst0 or something like that

I'm probably doing something dumb, but I'm having a hard time figuring
this out.  Anyone got any ideas?  Thanks

Nick



--
Nick Jones
University of Iowa
Dept of Neurology
Systems Analyst
319-356-0451

<Prev in Thread] Current Thread [Next in Thread>