Thanks for your reply. Seems like I have 2 Qlogic FC HBA cards and have got already some EMC storage assigned. Please let us know what the following indicate: scsi-qla0-adapter-node scsi-qla0-adapter-port scsi-qla0-target scsi-qla0-port # pwd /proc/scsi/qla2xxx # ls 1 2 # cat 1 QLogic PCI to Fibre Channel Host Adapter for QLE2460: Firmware version 4.00.18 [IP] , Driver version 8.01.04-d7 ISP: ISP2432 Request Queue = 0x41eb00000, Response Queue = 0x41ef20000 Request Queue count = 4096, Response Queue count = 512 Total number of active commands = 0 Total number of interrupts = 30686605 Device queue depth = 0x20 Number of free request entries = 1842 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 Host adapter:loop state = <READY>, flags = 0x1e03 Dpc flags = 0x4000000 MBX flags = 0x0 Link down Timeout = 045 Port down retry = 045 Login retry count = 045 Commands retried with dropped frame(s) = 1 Product ID = 0000 0000 0000 0000 SCSI Device Information: scsi-qla0-adapter-node=2000001b3201f211; scsi-qla0-adapter-port=2100001b3201f211; scsi-qla0-target-0=5006016039a02907; scsi-qla0-target-1=5006016939a02907; scsi-qla0-target-2=5006016339a048e0; scsi-qla0-target-3=5006016a39a048e0; FC Port Information: scsi-qla0-port-0=50060160b9a02907:5006016039a02907:791700:81; scsi-qla0-port-1=50060160b9a02907:5006016939a02907:790e00:82; scsi-qla0-port-2=50060160b9a048e0:5006016339a048e0:810500:83; scsi-qla0-port-3=50060160b9a048e0:5006016a39a048e0:810400:84; SCSI LUN Information: (Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 8030696, Pending reqs 0, flags 0x0, 0:0:81 00 ( 0: 1): Total reqs 593570, Pending reqs 0, flags 0x0, 0:0:81 00 ( 0: 2): Total reqs 5238207, Pending reqs 0, flags 0x0, 0:0:81 00 ( 0: 3): Total reqs 593512, Pending reqs 0, flags 0x0, 0:0:81 00 ( 0: 4): Total reqs 593551, Pending reqs 0, flags 0x0, 0:0:81 00 ( 0: 5): Total reqs 593551, Pending reqs 0, flags 0x0, 0:0:81 00 ( 0: 6): Total reqs 594040, Pending reqs 0, flags 0x0, 0:0:81 00 ( 1: 0): Total reqs 593578, Pending reqs 0, flags 0x0, 0:0:82 00 ( 1: 1): Total reqs 7611405, Pending reqs 0, flags 0x0, 0:0:82 00 ( 1: 2): Total reqs 593549, Pending reqs 0, flags 0x0, 0:0:82 00 ( 1: 3): Total reqs 745434, Pending reqs 0, flags 0x0, 0:0:82 00 ( 1: 4): Total reqs 1457430, Pending reqs 0, flags 0x0, 0:0:82 00 ( 1: 5): Total reqs 594632, Pending reqs 0, flags 0x0, 0:0:82 00 ( 1: 6): Total reqs 593508, Pending reqs 0, flags 0x0, 0:0:82 00 ( 2: 0): Total reqs 1188736, Pending reqs 0, flags 0x0, 0:0:83 00 ( 2: 1): Total reqs 593556, Pending reqs 0, flags 0x0, 0:0:83 00 ( 3: 0): Total reqs 593521, Pending reqs 0, flags 0x0, 0:0:84 00 ( 3: 1): Total reqs 593464, Pending reqs 0, flags 0x0, 0:0:84 00 # cat 2 QLogic PCI to Fibre Channel Host Adapter for QLE2460: Firmware version 4.00.18 [IP] , Driver version 8.01.04-d7 ISP: ISP2432 Request Queue = 0x41e300000, Response Queue = 0x41e220000 Request Queue count = 4096, Response Queue count = 512 Total number of active commands = 0 Total number of interrupts = 30732943 Device queue depth = 0x20 Number of free request entries = 2086 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 Host adapter:loop state = <READY>, flags = 0x1e03 Dpc flags = 0x4000000 MBX flags = 0x0 Link down Timeout = 045 Port down retry = 045 Login retry count = 045 Commands retried with dropped frame(s) = 0 Product ID = 0000 0000 0000 0000 SCSI Device Information: scsi-qla1-adapter-node=2000001b3201b80f; scsi-qla1-adapter-port=2100001b3201b80f; scsi-qla1-target-0=5006016139a02907; scsi-qla1-target-1=5006016839a02907; scsi-qla1-target-2=5006016039a048e0; scsi-qla1-target-3=5006016939a048e0; FC Port Information: scsi-qla1-port-0=50060160b9a02907:5006016139a02907:780e00:81; scsi-qla1-port-1=50060160b9a02907:5006016839a02907:781600:82; scsi-qla1-port-2=50060160b9a048e0:5006016039a048e0:800200:83; scsi-qla1-port-3=50060160b9a048e0:5006016939a048e0:800300:84; SCSI LUN Information: (Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 8040939, Pending reqs 0, flags 0x0, 1:0:81 00 ( 0: 1): Total reqs 593526, Pending reqs 0, flags 0x0, 1:0:81 00 ( 0: 2): Total reqs 5238807, Pending reqs 0, flags 0x0, 1:0:81 00 ( 0: 3): Total reqs 593467, Pending reqs 0, flags 0x0, 1:0:81 00 ( 0: 4): Total reqs 593437, Pending reqs 0, flags 0x0, 1:0:81 00 ( 0: 5): Total reqs 593503, Pending reqs 0, flags 0x0, 1:0:81 00 ( 0: 6): Total reqs 594471, Pending reqs 0, flags 0x0, 1:0:81 00 ( 1: 0): Total reqs 593492, Pending reqs 0, flags 0x0, 1:0:82 00 ( 1: 1): Total reqs 7597648, Pending reqs 0, flags 0x0, 1:0:82 00 ( 1: 2): Total reqs 593437, Pending reqs 0, flags 0x0, 1:0:82 00 ( 1: 3): Total reqs 744350, Pending reqs 0, flags 0x0, 1:0:82 00 ( 1: 4): Total reqs 1455505, Pending reqs 0, flags 0x0, 1:0:82 00 ( 1: 5): Total reqs 594244, Pending reqs 0, flags 0x0, 1:0:82 00 ( 1: 6): Total reqs 593427, Pending reqs 0, flags 0x0, 1:0:82 00 ( 2: 0): Total reqs 1186939, Pending reqs 0, flags 0x0, 1:0:83 00 ( 2: 1): Total reqs 593420, Pending reqs 0, flags 0x0, 1:0:83 00 ( 3: 0): Total reqs 593425, Pending reqs 0, flags 0x0, 1:0:84 00 ( 3: 1): Total reqs 593383, Pending reqs 0, flags 0x0, 1:0:84 00 Thanks. On Thu, Jan 28, 2010 at 9:17 PM, Eugene Vilensky <evilensky@xxxxxxxxx>wrote: > On Thu, Jan 28, 2010 at 2:41 PM, unix syzadmin <unixsyzadmin@xxxxxxxxx> > wrote: > > Hi, > > > > We are running RHEL AS 4 and are going to be assigned EMC SAN storage. > > > > I am asked to provide the WWN numbers to the storage folks in order to > > assign the LUNs. > > > > How can I determine the number of FC HBA cards on the linux and their WWN > > numbers. > > > > Please suggest, > > > > Thanks. > > Without answering your question directly, I highly recommend you > obtain all of the necessary client-side software and appropriate > documentation from your SAN team if you plan on implementing this > correctly. Will this host have multiple paths presented to it? > > Your vendor documentation will clearly spell out the requirements for > properly connecting to the san, including how to easily answer your > own question. > > To answer your question more directly, without querying any san vendor > or HBA vendor utility, you may be able to read out the port > information through /proc/scsi/[driver]/ hierarchy. > > For example on one of my systems: > # cat /proc/scsi/qla2xxx/1 > <snip> > SCSI Device Information: > scsi-qla0-adapter-node=200000xxxxxxxxxx; > scsi-qla0-adapter-port=210000xxxxxxxxx; > <snip> > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list