A handy Solaris 10 command: fcinfo

One the most useful new command I found in Solaris 10 is fcinfo, a command line interface that will display information on HBA ports on a host, but also many useful bits of information on connected storage remote port WWN, raid type, link status,etc.

 root@node57 # fcinfo hba-port -l
HBA Port WWN: 10000000c9503663
        OS Device Name: /dev/cfg/c3
        Manufacturer: Sun Microsystems, Inc.
        Model: LP10000-S
        Type: L-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 20000000c9503663
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 6
                Loss of Signal Count: 0
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 24
                Invalid CRC Count: 0
HBA Port WWN: 10000000c9504044
        OS Device Name: /dev/cfg/c2
        Manufacturer: Sun Microsystems, Inc.
        Model: LP10000-S
        Type: L-port
        State: online
        Supported Speeds: 1Gb 2Gb
        Current Speed: 2Gb
        Node WWN: 20000000c9504044
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 15
                Loss of Signal Count: 0
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 62
                Invalid CRC Count: 0
HBA Port WWN: 210000e08b076df5
        OS Device Name: /dev/cfg/c4
        Manufacturer: QLogic Corp.
        Model: 375-3019-xx
        Type: unknown
        State: offline
        Supported Speeds: 1Gb
        Current Speed: not established
        Node WWN: 200000e08b076df5
        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
root@node57 # fcinfo remote-port -sl -p 10000000c9503663
Remote Port WWN: 216000c0ff886d4f
        Active FC4 Types:
        SCSI Target: yes
        Node WWN: 206000c0ff086d4f
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 3
                Loss of Signal Count: 3
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 0
                Invalid CRC Count: 0
        LUN: 0
          Vendor: SUN
          Product: StorEdge 3510
          OS Device Name: /dev/rdsk/c7t600C0FF000000000086D4F0F39F16600d0s2
        LUN: 1
          Vendor: SUN
          Product: StorEdge 3510
          OS Device Name: /dev/rdsk/c7t600C0FF000000000086D4F17C87C9B00d0s2
Remote Port WWN: 10000000c9504044
        Active FC4 Types:
        SCSI Target: no
        Node WWN: 20000000c9504044
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 15
                Loss of Signal Count: 0
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 62
                Invalid CRC Count: 0
root@node57 #

Comments:

Post a Comment:
Comments are closed for this entry.
About

yglee

Search

Categories
Archives
« 3월 2015
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today