HP StorageWorks XP LUN Configuration and Security Manager User Guide: HP XP12000 Disk Array HP XP10000 Disk Array HP 200 Storage Virtualization System (T1714-96030, June 2010)

4. A list of attached Fibre Channel devices and their device file names appears.
# /usr/sbin/ioscan -fnC lan <– Enter the ioscan command.
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 8/0.5 fcT1_cntl CLAIMED INTERFACE HP Fibre Channel
Mass Storage Cntl
/dev/fcms0 <– Device file name.
lan 4 8/4.5 fcT1_cntl CLAIMED INTERFACE HP Fibre Channel
Mass Storage Cntl
/dev/fcms4 <– Device file name.
lan 5 8/8.5 fcT1_cntl CLAIMED INTERFACE HP Fibre Channel
Mass Storage Cntl
/dev/fcms5 <– Device file name.
lan 6 8/12.5 fcT1_cntl CLAIMED INTERFACE HP Fibre Channel
Mass Storage Cntl
/dev/fcms6 <– Device file name.
lan 1 10/8/1/0 btlan4 CLAIMED INTERFACE PCI(10110009) --
Built-in #1
lan 2 10/8/2/0 btlan4 CLAIMED INTERFACE PCI(10110009) --
Built-in #2
lan 3 10/12/6 lan2 CLAIMED INTERFACE Built-in LAN
/dev/diag/lan3 /dev/ether3 /dev/lan3
# # fcmsutil /dev/fcms0 <– Enter the fcmsutil command.
Local N_Port_ID is = 0x000001
N_Port Node World Wide Name = 0x10000060B0C08294
N_Port Port World Wide Name = 0x10000060B0C08294 <– Record the WWN.
Topology = IN_LOOP
Speed = 1062500000 (bps)
HPA of card = 0xFFB40000
EIM of card = 0xFFFA000D
Driver state = READY
Number of EDB's in use = 0
Number of OIB's in use = 0
Number of Active Outbound Exchanges = 1
Number of Active Login Sessions = 2
#
Record the Fibre Channel device file name (for example, /dev/fcms0).
5. Use the fcmsutil command with the Fibre Channel device name to list the WWN for that Fibre
Channel device. For example, to list the WWN for the device with the device file name /dev/
fcms0, enter:
/opt/fcms/bin/fcmsutil /dev/fcms0
NOTE:
When an A5158 Fibre Channel adapter is used, enter the following for the device name
at the command line prompt:
/usr/sbin/ioscan -fnC fc
Finding an open-system host's World Wide Name (WWN)154