On Solaris 10 Fibre Channel Management was so easy, cos the storage foundation kit is now integrated into the base OS, name was ” fcinfo “.
fcinfo ” utility were added to view fibre channel connectivity information.
fcinfo ” is especially useful, since it provides a tool with the base Operating System to view HBA and connectivity information, include HBAs from Emulex, JNI and Qlogic.

# uname -a
SunOS 5.10

# fcinfo -V
fcinfo: Version 1.0
For more information, please see fcinfo(1M)


# fcinfo hba-port

HBA Port WWN: 210000e08b8f29bf
OS Device Name: /devices/pci@84,4000/fibre-channel@3:devctl
Manufacturer: QLogic Corporation
Model: QLA2340
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 200000e08b8f29bf

HBA Port WWN: 10000000c9581765
OS Device Name: /dev/cfg/c3
Manufacturer: Emulex
Model: LP9802
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9581765

HBA Port WWN: 10000000c9582596
OS Device Name: /dev/cfg/c4
Manufacturer: Emulex
Model: LP9802
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9582596

Option “-l” is Lists the link error statistics information for the port
# fcinfo hba-port -l

HBA Port WWN: 210000e08b8f29bf
OS Device Name: /devices/pci@84,4000/fibre-channel@3:devctl
Manufacturer: QLogic Corporation
Model: QLA2340
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 200000e08b8f29bf
Error: SendRLS failed for 210000e08b8f29bf

HBA Port WWN: 10000000c9581765
OS Device Name: /dev/cfg/c3
Manufacturer: Emulex
Model: LP9802
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9581765
Link Error Statistics:
Link Failure Count: 1
Loss of Sync Count: 6
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 120
Invalid CRC Count: 0

HBA Port WWN: 10000000c9582596
OS Device Name: /dev/cfg/c4
Manufacturer: Emulex
Model: LP9802
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c9582596
Link Error Statistics:
Link Failure Count: 1
Loss of Sync Count: 6
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 8
Invalid CRC Count: 0

Remote -port used for display information on remote targets,
This information includes the storage manufacturer, the storage product type, WWPNs, and all of the SCSI targets that have been presented to the host.
# fcinfo remote-port -slp 10000000c9582596

Remote Port WWN: 50060e80042ab014
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 50060e80042ab014
Link Error Statistics:
Link Failure Count: 0
Loss of Sync Count: 0
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0

LUN: 0
Vendor: HITACHI
Product: OPEN-V -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d0s2

LUN: 1
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d1s2

LUN: 2
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d2s2
LUN: 3
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d3s2

LUN: 4
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d4s2

LUN: 5
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d5s2

LUN: 6
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d6s2

LUN: 7
Vendor: HITACHI
Product: OPEN-V*2 -SUN
OS Device Name: /dev/rdsk/c4t50060E80042AB014d7s2

Popularity: 48% [?]

You Should Also Check Out This Post:

More Active Posts: