To find the WWPN and Other information of Qlogic HBAs without restarting the host, you can use any of the following methods.
for i in `seq 0 4` ;
do echo #####Host $i ######;
cat /sys/class/fc_host/host$i/port_name;
cat /sys/class/fc_host/host$i/port_state;
cat /sys/class/fc_host/host$i/port_type;
cat /sys/class/fc_host/host$i/speed;
cat /sys/class/fc_host/host$i/supported_speeds;
done
Your output may be the following,
0×2100001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 Gbit, 2 Gbit, 4 Gbit
0×2101001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 [...]
Archive for the ‘HBA’ Category
Find the WWN’s of Qlogic HBAs in SUSE 10
Posted in HBA, Linux Comm, SAN on June 30, 2009 | Leave a Comment »
EMC INQ utility
Posted in HBA, Solaris Comm, Sun Storage on February 9, 2009 | Leave a Comment »
The Inquiry utility (INQ) is a command-line troubleshooting utility that displaysinformation on storage devices, typically Symmetrix. By default, INQreturns the device name, Symmetrix ID, Symmetrix LUN, and capacity. Thisutility will operate independently of any other EMC software. Use the INQUtility to collect system information to provide to EMC Global Servicesfor problem troubleshooting.
Download INQ utility from [...]
Locating the WWPN for a Linux host
Posted in GNU/Linux, HBA on May 5, 2008 | Leave a Comment »
To locate the WWPN without restarting the host system:
You can find the WWPN in your /proc/scsi/qlaadapter_type/n directory, where adapter_type is the host adapter type and n is the host adapter number for your card. Your host adapter type can be either qlaxxxx for QLogic adapters or lpfc for Emulex adapters.
# cat /proc/scsi/qla2xxx/2QLogic PCI to [...]
Finding WWN of HBA cards in Solaris 8, 9 and 10
Posted in HBA, Solaris on May 5, 2008 | 1 Comment »
bash-2.03# luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d0s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d1s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d2s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d3s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d4s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d5s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d6s2
Node WWN:50070e800475e108 Device Type:Disk device
Logical Path:/dev/rdsk/c5t50060E800475D109d7s2
HBA card WWN
# prtconf [...]
Solaris 10 Leaville Fibre Channel Adapter (FCA) driver
Posted in HBA, Hardware, Solaris, Sun Storage on March 14, 2008 | 3 Comments »
Solaris 10 comes with Leadville stack, is basically the code name for the StorEdge SAN Foundation Software (SFS) which Sun developed for the Solaris OS. Leadville is a new, open standards-based I/O framework and device driver stack to support FC which includes I/0 stack, Sun StorageTek Traffic Manager software (multipathing or MPxIO), Storage Networking Industry [...]


