skip to main |
skip to sidebar
Find out HBA port WWN on Solaris
- Issue the following command on the host to find out how many HBAs are connected to the host:
- The output will be as under:
- /devices/pci@0/pci@0/pci@8/pci@0/pci@a/SUNW,qlc@0/fp@0,0:devctl NOT CONNECTED
- /devices/pci@0/pci@0/pci@8/pci@0/pci@a/SUNW,qlc@0,1/fp@0,0:devctl CONNECTED
- The output shows that one HBA card is connected to the host
- Issue the following command to get the port numbers and associated WWN for each HBA connected to the host
- luxadm -e dump_map /devices/pci@0/pci@0/pci@8/pci@0/pci@a/SUNW,qlc@0,1/fp@0,0:devctl
- The sample output is as under:
Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 170900 0 20030003baccc902 10000003baccc902 0x0 (Disk device) 1 1c0300 0 10000000c9722f33 20000000c9722f33 0x1f (Unknown Type) 2 1f0200 0 20030003ba13e6a1 10000003ba13e6a1 0x0 (Disk device) 3 140300 0 2101001b322f4f21 2001001b322f4f21 0x1f (Unknown Type,Host Bus Adapter)
- The above output shows that the QLC HBA has two ports namely 0 and 2 with port wwn 20030003baccc902 and 20030003ba13e6a1 which can be mapped to the luns on the storage
No comments:
Post a Comment