Operating System - Linux
1829563 Members
1694 Online
109992 Solutions
New Discussion

Re: QLA2312 Fibre Channel and Smart Array

 
Andrea Lucarelli
Honored Contributor

QLA2312 Fibre Channel and Smart Array

Hi to all,

I have Red Hat Enterprise Linux AS release 3 on ProLiant DL585 G1. On this system we have 2 QLA2312 Fibre Channel and 1 Smart Array 5i/532.

is there a command to see if the Fibre Channel is attached to Smart Array?

I have 3 disks :

/dev/sda
/dev/sdb
/dev/cciss/c0t0

How can I see which disk is attached to Fibre Channel?

Thanks in advance
Andrea.
It will be a good day?
4 REPLIES 4
Uwe Zessin
Honored Contributor

Re: QLA2312 Fibre Channel and Smart Array

/dev/cciss is the SmartArray controller

/dev/sda and /dev/sdb are SCSI disks, but it could be parallel SCSI or serial SCSI (Fibre Channel / iSCSI).

Did you install the HP-branded driver package? It includes a utility that reports SCSI inquiry data:

# lssd
sda 0,0,0,1 HP HSV200 5110
#

Another useful utility:

# scsi_info /dev/sda
SCSI_ID="0,0,0,1":VENDOR="HP":MODEL="HSV200":FW_REV="5110":WWN="50001fe15009XXX0":LUN="600508b4XXXXXXXX-0000d00000080000"
#
.
Joakim Brosten
Frequent Advisor

Re: QLA2312 Fibre Channel and Smart Array

Hi Andrea,

If you've installed the HP-branded package, you will find some useful tools under /opt/hp/hp_fibreutils. "adapter_info" and "probe_luns -a" might tell you what you asking for.

/Joakim
Andrea Lucarelli
Honored Contributor

Re: QLA2312 Fibre Channel and Smart Array

Hi,

thanks a lot for your information.

I have this hw:

lssd
sda 0,0,0,1 COMPAQ MSA1000 VOLUME 4.48 5008-05f3-0016-bb91
sdb 0,0,0,2 COMPAQ MSA1000 VOLUME 4.48 5008-05f3-0016-bb91
sdc 0,0,0,3 COMPAQ MSA1000 VOLUME 4.48 5008-05f3-0016-bb91
sdd 0,0,0,4 COMPAQ MSA1000 VOLUME 4.48 5008-05f3-0016-bb91
sde 0,0,0,5 COMPAQ MSA1000 VOLUME 4.48 5008-05f3-0016-bb91
[root@wantsdb01 hp_fibreutils]# scsi_info /dev/sda
SCSI_ID="0,0,1"
MODEL="COMPAQ MSA1000 VOLUME"
FW_REV="4.48"

adapter_info
/proc/scsi/qla2300/1: STATE=READY WWNN=200100e08bb54e13 WWPN=210100e08bb54e13
/proc/scsi/qla2300/0: STATE=READY WWNN=200000e08b954e13 WWPN=210000e08b954e13

Which disk is attached to fc /proc/scsi/qla2300/1 ?

and then with fdisk -l I see:

Disk /dev/cciss/c0d0: 146.8 GB, 146807930880 bytes
Disk /dev/sda: 72.8 GB, 72837857280 bytes
Disk /dev/sdb: 72.8 GB, 72837857280 bytes
Disk /dev/sdc: 32.2 GB, 32210196480 bytes
Disk /dev/sdd: 52.2 GB, 52255203840 bytes
Disk /dev/sde: 61.2 GB, 61204308480 bytes

Which disks are attached to Fibre Channel?

for example on HP-UX i have this configuration:

ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
====================================================================
fc 0 13/0/1/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter

ioscan -fnCdisk |more
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 366 13/0/1/0/0.97.6.19.0.0.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM


is very easy to see the disk where is attached.

Thanks a lot
Andrea.

It will be a good day?
Jean-Yves Picard
Trusted Contributor

Re: QLA2312 Fibre Channel and Smart Array

Hello,

/dev/sd$x are QLA attached (SAN)

while /dev/cciss/s0d$x are smart array attached (local).

you asked :
Which disk is attached to fc /proc/scsi/qla2300/1 ?

try cat /proc/scsi/qla2300/1 ( and cat /proc/scsi/qla2300/0 too)

I'll guess all you fiber disk should be attached to both controller.

Jean-Yves Picard