1 得到HBA卡的安装信息
root@bj3ychdb01:/home/hjl>lsdev -Cc adapter
ent0 Available 00-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 00-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Defined 09-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Defined 09-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available 0B-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent5 Available 0B-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
fcs0 Available 07-08 FC Adapter
fcs1 Available 0A-08 FC Adapter
ide0 Defined 03-08 ATA/IDE Controller Device
pkcs11 Available PKCS#11 Device
sisscsia0 Available 04-08 PCI-X Dual Channel Ultra320 SCSI Adapter
sisscsia1 Available 06-08 PCI-XDDR Dual Channel Ultra320 SCSI Adapter
usbhc0 Defined 08-08 USB Host Controller (33103500)
usbhc1 Defined 08-09 USB Host Controller (33103500)
usbhc2 Defined 08-0a USB Enhanced Host Controller (3310e000)
vsa0 Available LPAR Virtual Serial Adapter
vsa1 Defined LPAR Virtual Serial Adapter
vsa2 Defined LPAR Virtual Serial Adapter
或者
root@bj3ychdb01:/home/hjl>lsdev -C |grep fcs
fcs0 Available 07-08 FC Adapter
fcs1 Available 0A-08 FC Adapter
结果中红色部分是HBA卡信息,蓝色部分是网卡信息(注意网卡信息中的红色字,下面查询网卡驱动会用到)。
2 得到fcs0卡的详细信息
root@bj3ychdb01:/home/hjl>lscfg -pvl fcs0
fcs0 U787F.001.DPM0BYH-P1-C6-T1 FC Adapter
Part Number.................80P4543
EC Level....................A
Serial Number...............1B52604576
Manufacturer................001B
Customer Card ID Number.....280B
FRU Number.................. 80P4544
Device Specific.(ZM)........3
Network Address.............10000000C946EA10
ROS Level and ID............02881955
Device Specific.(Z0)........1001206D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FF801413
Device Specific.(Z5)........02881955
Device Specific.(Z6)........06831955
Device Specific.(Z7)........07831955
Device Specific.(Z8)........20000000C946EA10
Device Specific.(Z9)........TS1.91A5
Device Specific.(ZA)........T1D1.91A5
Device Specific.(ZB)........T2D1.91A5
Device Specific.(ZC)........00000000
Hardware Location Code......U787F.001.DPM0BYH-P1-C6-T1
PLATFORM SPECIFIC
Name: fibre-channel
Model: LP10000
Node: fibre-channel@1
Device Type: fcp
Physical Location: U787F.001.DPM0BYH-P1-C6-T1
结果中红色部分是HBA卡的WWPN号码,蓝色部分表示HBA卡的微码版本(VPD信息的 Z9 字段, 就是HBA卡的微码版本)。
3 HBA卡驱动信息
root@bj3ychdb01:/home/hjl>lslpp -l |grep -i fc.
devices.common.IBM.fc.hba-api
devices.common.IBM.fc.rte
6.1.8.15 COMMITTED Common IBM FC Software
devices.fcp.disk.array.diag
devices.fcp.disk.array.rte
6.1.8.15 COMMITTED FC SCSI RAIDiant Array Device
devices.fcp.disk.rte 6.1.8.15 COMMITTED FC SCSI CD-ROM, Disk,
devices.fcp.tape.rte 6.1.8.15 COMMITTED FC SCSI Tape Device Software
devices.pci.77101223.com 6.1.8.0 COMMITTED PCI FC Adapter (77101223)
6.1.8.15 COMMITTED PCI FC Adapter (77101223)
devices.pci.77101223.rte 6.1.0.0 COMMITTED PCI FC Adapter (77101223)
devices.pci.77102224.com 6.1.8.15 COMMITTED PCI-X FC Adapter (77102224)
devices.pci.77102224.diag 6.1.8.0 COMMITTED PCI-X FC Adapter (77102224)
devices.pci.77102224.rte 6.1.8.0 COMMITTED PCI-X FC Adapter (77102224)
devices.pci.df1000f7.com 6.1.8.15 COMMITTED Common PCI FC Adapter Device
6.1.8.15 COMMITTED PCI FC Adapter Device
devices.pci.df1000f7.rte 6.1.0.0 COMMITTED PCI FC Adapter Device Software
devices.pci.df1000f9.diag 6.1.0.0 COMMITTED 64-bit PCI FC Adapter Device
devices.pci.df1000f9.rte 6.1.0.0 COMMITTED 64-bit PCI FC Adapter Device
devices.pci.df1000fa.diag 6.1.0.0 COMMITTED FC PCI-X Adapter Device
devices.pci.df1000fa.rte 6.1.2.0 COMMITTED FC PCI-X Adapter Device
devices.pci.df1000fd.diag 6.1.0.0 COMMITTED FC PCI-X Adapter Device
devices.pci.df1000fd.rte 6.1.6.0 COMMITTED 4Gb PCI-X FC Adapter Device
devices.pci.df1023fd.diag 6.1.0.0 COMMITTED 4Gb PCI-X FC Adapter
devices.pci.df1023fd.rte 6.1.6.0 COMMITTED 4Gb PCI-X FC Adapter
devices.pci.df1080f9.diag 6.1.0.0 COMMITTED PCI-X FC Adapter Device
devices.pci.df1080f9.rte 6.1.2.0 COMMITTED PCI-X FC Adapter Device
6.1.4.0 COMMITTED 10 Gb FCoE PCI Express Dual
6.1.4.0 COMMITTED 10 Gb FCoE PCI Express Dual
6.1.8.15 COMMITTED 10 Gb FCoE PCI Express Dual
6.1.8.0 COMMITTED 10 Gb FCoE PCI Express Dual
4 网卡驱动信息
root@bj3ychdb01:/home/hjl>lslpp -l |grep 14108902
devices.pci.14108902.diag 6.1.0.0 COMMITTED 10/100/1000 Base-TX PCI-X
devices.pci.14108902.rte 6.1.8.15 COMMITTED 2-Port 10/100/1000 Base-TX
devices.pci.14108902.rte 6.1.8.15 COMMITTED 2-Port 10/100/1000 Base-TX