PowerEdge 6450 + Qlogic Fibre + PowerVault 136T

Clark, Anthony aclrk at umich.edu
Fri Apr 19 09:13:00 CDT 2002


Hey Folks,

Well, here's a list of things I needed to do to get the Dell PowerVault 136T LTO Tape Library working with Red Hat Linux 7.2 running on a Dell PowerEdge 6450, using a Qlogic Fibre adapter:

1) I had to recompile the kernel (2.4.9-31smp) adding the line CONFIG_SCSI_MULTI_LUN=y to the config file from /usr/src/linux-2.4/configs/kernel-2.4.9-i686-smp.config then I copied that file to /usr/src/linux-2.4 naming it '.config'

2) rebuilt the kernel as per standard instructions from the RedHat Linux 7.2  Customization Guide (I appended 'lun', naming the kernel 2.4.9-31lun).  I also added the max_scsi_luns=8 to the /boot/grub/grub.conf file entry concerning the new kernel.

3) rebuilt the initrd ramdisk ensuring that it included the qlogic driver from /etc/modules.conf:

alias scsi_hostadapter aic7xxx
alias scsi_hostadapter megaraid
alias scsi_hostadapter qla2x00
alias scsi_hostadapter sg
alias scsi_hostadapter st
(I've removed entries not pertinent to this discussion)

4) in the PowerVault 136T fibre bridge manager software, I rearranged the hardware mapping so that the drive numbers sequentially matched the LUN numbers the 136T bridge presented to the outside SCSI world.  I also modified the fibre channel zoning to present all scsi channels to both fibre links.  This step may not be necessary, YMMV.

5) rebooted the kernel, loading the new LUN scanning kernel:

qla2x00: detect() found an HBA
qla2x00: VID=1077 DID=2200 SSVID=1077 SSDID=2
(scsi): Found a QLA2200  @ bus 3, device 0xa, irq 24, iobase 0xc800
scsi(3): Configure NVRAM parameters...
scsi(3): Verifying loaded RISC code...
scsi(3): Verifying chip...
scsi(3): LIP reset occurred
scsi(3): Waiting for LIP to complete...
scsi(3): LOOP UP detected
scsi(3): Waiting for LIP to complete...
scsi3: Topology - (F_Port), Host Loop address  0xffff
scsi(3): Waiting for LIP to complete...
scsi3: Topology - (F_Port), Host Loop address  0xffff
scsi-qla0-adapter-node=200000e08b052a74;
scsi-qla0-adapter-port=210000e08b052a74;
scsi-qla0-target-0=2001006045170514;
scsi-qla0-target-1=2002006045170514;
scsi3 : QLogic QLA2200 PCI to Fibre Channel Host Adapter: bus 3 device 10 irq 24
        Firmware version:  2.01.34, Driver version 4.31.7b
scsi: unknown type 12
  Vendor: DELL      Model: PV-136T-FC        Rev: 40aB
  Type:   Unknown                            ANSI SCSI revision: 03
  Vendor: DELL      Model: PV-136T           Rev: 2.73
  Type:   Medium Changer                     ANSI SCSI revision: 02
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
scsi: unknown type 12
  Vendor: DELL      Model: PV-136T-FC        Rev: 40aB
  Type:   Unknown                            ANSI SCSI revision: 03
  Vendor: DELL      Model: PV-136T           Rev: 2.73
  Type:   Medium Changer                     ANSI SCSI revision: 02
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
  Vendor: HP        Model: Ultrium 1-SCSI    Rev: E21V
  Type:   Sequential-Access                  ANSI SCSI revision: 03
scsi(3:0:0:0): Enabled tagged queuing, queue depth 16.
scsi(3:0:0:1):Device does not supoort tags queuing!!!.
scsi(3:0:0:2):Device does not supoort tags queuing!!!.
scsi(3:0:0:3):Device does not supoort tags queuing!!!.
scsi(3:0:0:4):Device does not supoort tags queuing!!!.
scsi(3:0:0:5):Device does not supoort tags queuing!!!.
scsi(3:0:1:0): Enabled tagged queuing, queue depth 16.
scsi(3:0:1:1):Device does not supoort tags queuing!!!.
scsi(3:0:1:2):Device does not supoort tags queuing!!!.
scsi(3:0:1:3):Device does not supoort tags queuing!!!.
scsi(3:0:1:4):Device does not supoort tags queuing!!!.
scsi(3:0:1:5):Device does not supoort tags queuing!!!.
resize_dma_pool: unknown device type 12
resize_dma_pool: unknown device type 12
Attached scsi generic sg0 at scsi2, channel 0, id 6, lun 0,  type 3
Attached scsi generic sg1 at scsi2, channel 1, id 6, lun 0,  type 3
Attached scsi generic sg4 at scsi3, channel 0, id 0, lun 0,  type 12
Attached scsi generic sg5 at scsi3, channel 0, id 0, lun 1,  type 8
Attached scsi generic sg10 at scsi3, channel 0, id 1, lun 0,  type 12
Attached scsi generic sg11 at scsi3, channel 0, id 1, lun 1,  type 8
resize_dma_pool: unknown device type 12
resize_dma_pool: unknown device type 12
st: Version 20010812, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi3, channel 0, id 0, lun 2
Attached scsi tape st1 at scsi3, channel 0, id 0, lun 3
Attached scsi tape st2 at scsi3, channel 0, id 0, lun 4
Attached scsi tape st3 at scsi3, channel 0, id 0, lun 5
Attached scsi tape st4 at scsi3, channel 0, id 1, lun 2
Attached scsi tape st5 at scsi3, channel 0, id 1, lun 3
Attached scsi tape st6 at scsi3, channel 0, id 1, lun 4
Attached scsi tape st7 at scsi3, channel 0, id 1, lun 5

(because of the modifed fibre bridge, everything shows up twice)

6) downloaded the mt RPM from redhat and the mtx RPM from http://mtx.sourceforge.net/

7) 'export CHANGER=/dev/sg5' (or /dev/sg11); mtx inquiry:

Product Type: Medium Changer
Vendor ID: 'DELL    '
Product ID: 'PV-136T         '
Revision: '2.73'
Attached Changer: No

8) 'mtx status'
  Storage Changer /dev/sg11:4 Drives, 37 Slots ( 1 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty
      Storage Element 1:Full :VolumeTag=000001L1
... ...
      Storage Element 30:Full :VolumeTag=000030L1
      Storage Element 31:Empty
      Storage Element 32:Empty
      Storage Element 33:Empty
      Storage Element 34:Empty
      Storage Element 35:Empty
      Storage Element 36:Empty
      Storage Element 37 IMPORT/EXPORT:Empty

9) 'mtx load 1 0; mtx status' :
  Storage Changer /dev/sg11:4 Drives, 37 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 000001L1
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty
      Storage Element 1:Empty
(... Rest of entries removed ...)

10) 'tapeinfo -f /dev/sg12' :
Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 1-SCSI  '
Revision: 'E21V'
Attached Changer: No
SerialNumber: 'IE71K05469'
MinBlock:18757
MaxBlock:8388618
SCSI ID: 1
SCSI LUN: 2
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x40
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
BOP: yes
Block Position: 0

11) 'cd /; tar -cf /dev/sg12 /usr; tar -df /dev/sg12 usr' works just fine!

Hope this helps someone in the dim distant future, or something ;-)

/*
 * Anthony Clark
 * eLab Systems Administrator
 * aclrk at umich.edu
 */




More information about the Linux-PowerEdge mailing list