How do you find out WWN and WWPN of HBA in Solaris server?
Here is the quick way to get wwnn and wwpn in Solaris:
Just grep for "port-wwn" in the above command to see only WWPN. In most of the cases, WWPN is the required information for storage zoning.
Here is the quick way to get wwnn and wwpn in Solaris:
testuser@testsunsrv # /usr/sbin/prtconf -vp | grep -i wwn
port-wwn: 210000e0.4m1e143f
node-wwn: 200000e0.4m1e143f
port-wwn: 210100e0.4m3e143f
node-wwn: 200000e0.4m3e143f
port-wwn: 21000003.fc2f1c36
node-wwn: 20000003.fc2f1c36
port-wwn: 210000e0.4m103794
node-wwn: 200000e0.4m103794
port-wwn: 210100e0.4m303794
node-wwn: 200000e0.4m303794
port-wwn: 210000e0.4m0a575b
node-wwn: 200000e0.4m0a575b
port-wwn: 210100e0.4m2a575b
node-wwn: 200000e0.4m2a575b
port-wwn: 210000e0.4m0a55ab
node-wwn: 200000e0.4m0a55ab
port-wwn: 210100e0.4m2a55ab
node-wwn: 200000e0.4m2a55ab
testuser@testsunsrv # prtpicl -v -c scsi-fcp | grep -i wwn
:node-wwn 20 00 00 e0 4m 1e 14 3f
:port-wwn 21 00 00 e0 4m 1e 14 3f
:node-wwn 20 00 00 e0 4m 3e 14 3f
:port-wwn 21 01 00 e0 4m 3e 14 3f
:node-wwn 20 00 00 03 fc 2f 1c 36
:port-wwn 21 00 00 03 fc 2f 1c 36
:node-wwn 20 00 00 e0 4m 10 37 94
:port-wwn 21 00 00 e0 4m 10 37 94
:node-wwn 20 00 00 e0 4m 30 37 94
:port-wwn 21 01 00 e0 4m 30 37 94
:node-wwn 20 00 00 e0 4m 0a 57 5b
:port-wwn 21 00 00 e0 4m 0a 57 5b
:node-wwn 20 00 00 e0 4m 2a 57 5b
:port-wwn 21 01 00 e0 4m 2a 57 5b
:node-wwn 20 00 00 e0 4m 0a 55 ab
:port-wwn 21 00 00 e0 4m 0a 55 ab
:node-wwn 20 00 00 e0 4m 2a 55 ab
:port-wwn 21 01 00 e0 4m 2a 55 ab
testuser@testsunsrv #
Just grep for "port-wwn" in the above command to see only WWPN. In most of the cases, WWPN is the required information for storage zoning.
testuser@testsunsrv # prtpicl -v -c scsi-fcp | grep -i port-wwnHope this helps..!
3 comments
Write commentsEasy and straight forward command to find wwn in Solaris 10 servers:.
Replyfcinfo hba-port
cfgadm -al -o show_FCP_dev
Hey Thanks for your visit and your quick info
ReplyI don't recall cfgadm ever working for me. prtpicl and fcinfo for sure.
ReplyWhat do you think about this Article? Add your Opinion..! EmoticonEmoticon