Find HBA’s WWN on Solaris 10
#!/bin/sh
for i in `cfgadm
grep fc-fabric
awk ‘{print $1}’`; do
dev=”`cfgadm -lv $i
grep devices
awk ‘{print $NF}’`”
wwn=”`luxadm -e dump_map $dev
grep ‘Host Bus’
awk ‘{print $4}’`”
echo “$i: $wwn”
done
Or command line: on all versions:
#prtpicl -v -c scsi-fcp
grep wwn (On all versions)
:node-wwn 20 00 00 e0 8b 94 92 8d
:port-wwn 21 00 00 e0 8b 94 92 8d
# prtconf -vp
grep -i ww
port-wwn: 210000e0.8b80fb81
node-wwn: 200000e0.8b80fb81
On Sol 10
# fcinfo hba-port
Saturday, July 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment