Tape Libraries and Drives
cancel
Showing results for 
Search instead for 
Did you mean: 

MSL5000 in SLES9 not working

James Specht
Trusted Contributor

MSL5000 in SLES9 not working

OK I have lots of information here and hope someone will be kind enough to push me in the right direction to solve this problem. Basically I have an MSL5000 tape library with one (1) robotic arm and four (4) tape drives in it. We recently moved the MSL5000 into our SAN and would like to have a SUSE SLES9 32bit system run the library. The server hardware is a DL380. Once the zoning was setup we saw the robotic arm and the four tape drives no problem. I tested moving the robotic arm and that works fine. What I cannot do is read or write from any of the drives. It looks like the /dev/stX (0-3) are not actually linked to the /dev/sgX devices, even though sg_map shows they are. I feel like I am missing something big here. Below is output from the following commands;

1. sg_map
2. cat /proc/scsi/scsi
3. lssg
4. cat /proc/scsi/qla2xxx/0
5. cat /proc/scsi/qla2xxx/1
6. tapeinfo -f /dev/sg0

If I try to do anything to /dev/st0 through 3 the command just hangs.

Any help would be greatly appreciated!

--Jim




# sg_map
/dev/sg0 /dev/st0
/dev/sg1 /dev/st1
/dev/sg2
/dev/sg3 /dev/sda
/dev/sg4
/dev/sg5
/dev/sg6 /dev/st2
/dev/sg7 /dev/st3

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: HSV100 Rev: 3020
Type: RAID ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 01
Vendor: HP Model: HSV100 Rev: 3020
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: HSV100 Rev: 3020
Type: RAID ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: COMPAQ Model: MSL5000 Series Rev: 0430
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 02
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03

# lssg
sg0 0,0,0,0 HP Ultrium 1-SCSI E38W 1000-00e0-0222-4015
sg1 0,0,0,1 HP Ultrium 1-SCSI E38W 1000-00e0-0222-4015
sg2 0,0,1,0 HP HSV100 3020 5000-1fe1-5004-6459
sg3 0,0,1,1 HP HSV100 3020 5000-1fe1-5004-6459
sg4 0,0,3,0 HP HSV100 3020 5000-1fe1-5004-63c9
sg5 1,0,0,0 COMPAQ MSL5000 Series 0430 1000-00e0-0222-5823
sg6 1,0,0,1 HP Ultrium 1-SCSI E38W 1000-00e0-0222-5823
sg7 1,0,0,2 HP Ultrium 1-SCSI E38W 1000-00e0-0222-5823

# cat /proc/scsi/qla2xxx/0
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
Firmware version 3.03.01 IPX, Driver version 8.00.00-fo
Entry address = f922d8a0
ISP: ISP2312, Serial# R13609
Request Queue = 0x37340000, Response Queue = 0x37390000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 264514
Device queue depth = 0x10
Number of free request entries = 1074
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state = , flags = 0x1a03
Dpc flags = 0x0
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002


SCSI Device Information:
scsi-qla0-adapter-node=200000e08b1ac925;
scsi-qla0-adapter-port=210000e08b1ac925;
scsi-qla0-target-0=100000e002224015;
scsi-qla0-target-1=50001fe150046459;
scsi-qla0-target-3=50001fe1500463c9;

FC Port Information:
scsi-qla0-port-0=100000e002024015:100000e002224015:0b0d08:81;
scsi-qla0-port-1=50001fe150046450:50001fe150046459:0b0100:82;
scsi-qla0-port-2=50001fe150046450:50001fe15004645c:0b0200:83;
scsi-qla0-port-3=50001fe1500463c0:50001fe1500463c9:0d0100:84;
scsi-qla0-port-4=50001fe1500463c0:50001fe1500463cc:0d0200:85;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 475, Pending reqs 0, flags 0x0, 0:0:81 00
( 0: 1): Total reqs 54, Pending reqs 0, flags 0x0, 0:0:81 01
( 1: 0): Total reqs 46, Pending reqs 0, flags 0x0, 0:0:82 00
( 1: 1): Total reqs 268404, Pending reqs 0, flags 0x0, 0:0:82 00
( 3: 0): Total reqs 53, Pending reqs 0, flags 0x0, 0:0:84 00


# cat /proc/scsi/qla2xxx/1
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
Firmware version 3.03.01 IPX, Driver version 8.00.00-fo
Entry address = f922d8a0
ISP: ISP2312, Serial# Q85803
Request Queue = 0x37280000, Response Queue = 0x372e0000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 17057
Device queue depth = 0x10
Number of free request entries = 1850
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Number of reqs in failover_q= 0
Host adapter:loop state = , flags = 0x1a03
Dpc flags = 0x0
MBX flags = 0x0
Link down Timeout = 008
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002


SCSI Device Information:
scsi-qla1-adapter-node=200000e08b192bb9;
scsi-qla1-adapter-port=210000e08b192bb9;
scsi-qla1-target-0=100000e002225823;

FC Port Information:
scsi-qla1-port-0=100000e002025823:100000e002225823:0a0d0f:81;
scsi-qla1-port-1=50001fe150046450:50001fe150046458:0a0100:82;
scsi-qla1-port-2=50001fe150046450:50001fe15004645d:0a0200:83;
scsi-qla1-port-3=50001fe1500463c0:50001fe1500463c8:0c0100:84;
scsi-qla1-port-4=50001fe1500463c0:50001fe1500463cd:0c0200:85;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 99, Pending reqs 0, flags 0x0, 1:0:81 00
( 0: 1): Total reqs 57, Pending reqs 0, flags 0x0, 1:0:81 01
( 0: 2): Total reqs 41, Pending reqs 0, flags 0x0, 1:0:81 01

# tapeinfo -f /dev/sg0
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 1-SCSI '
Revision: 'E38W'
Attached Changer: No
SerialNumber: 'HU73F04072'
MinBlock:1
MaxBlock:16777215
SCSI ID: 0
SCSI LUN: 0
Ready: no
"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers."
1 REPLY
Ryan Price
Occasional Visitor

Re: MSL5000 in SLES9 not working

Jim,

You have probably solved your issue here. If you haven't, here is what I am seeing:

My 4 SDLT320 drives installed in an ESL 630e library gave me the same problem on SLES9 running on a DL380G4. I see almost exactly the same results from sg_map, /proc/scsi/scsi, and /proc/scsi/qla2xxx/0. I was frustrated until I tried to tar cvf something to one of the drives. I was surprised to see that tar would write to the drives. If I run scsi_info /dev/sg0, I see immediate results. In my case, the st driver is able to write to the drives, but the sg driver only works for getting info about the drives. I am using Legato Networker 7.2.1.

Mostly, I am just glad to see that someone else is using SLES9 to backup to a fibre-attached tape library.

HTH,

Ryan