SAN/Solaris: luxadm shows NOT CONNECTED

Hi, I have a question regarding HBA configuration. Here are the commands' output:

# cfgadm -al | grep fc
c1 fc-fabric connected unconfigured unknown
c2 fc connected unconfigured unknown
c5 fc-fabric connected unconfigured unknown
c6 fc connected unconfigured unknown

# luxadm -e port
/devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl NOT CONNECTED
/devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl NOT CONNECTED
/devices/pci@10,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl NOT CONNECTED
/devices/pci@10,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl NOT CONNECTED

OS is Solaris 10. Two FC cables are connecting to a Brocade switch. Zone on the switch is not configured yet for this HBA. The luxadm command shows NOT CONNECTED. I don't understand what exactly this means.Please advise. The cfgadm shows unconfigured. I am trying to configure the HBA.

Thank you in advance!

Try:

fcinfo hba-port

# fcinfo hba-port

HBA Port WWN: 2100001b3284fed7
        OS Device Name: /dev/cfg/c5
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 4.04.01
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;
        Serial Number: 0402R00-0843644457
        Driver Name: qlc
        Driver Version: 20080617-2.29
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 2Gb
        Node WWN: 2000001b3284fed7

HBA Port WWN: 2101001b32a4fed7
        OS Device Name: /dev/cfg/c6
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 4.04.01
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;
        Serial Number: 0402R00-0843644457
        Driver Name: qlc
        Driver Version: 20080617-2.29
        Type: unknown
        State: offline
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: not established
        Node WWN: 2001001b32a4fed7

HBA Port WWN: 2100001b328417d8
        OS Device Name: /dev/cfg/c1
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 4.04.01
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;
        Serial Number: 0402R00-0843644449
        Driver Name: qlc
        Driver Version: 20080617-2.29
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 2Gb
        Node WWN: 2000001b328417d8

HBA Port WWN: 2101001b32a417d8
        OS Device Name: /dev/cfg/c2
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 4.04.01
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;
        Serial Number: 0402R00-0843644449
        Driver Name: qlc
        Driver Version: 20080617-2.29
        Type: unknown
        State: offline
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: not established
        Node WWN: 2001001b32a417d8

So you have two ports connected to the switch (see the line "State: online").

I know it.

Why luxadm shows NOT CONNECTED, and cfgadm shows Not configured. That's my questions:)

I won't tell you that, as I don't know the answer. All I know is that those are kind of legacy tools, sometimes useful, but sometimes showing weird output. Most of the time I'm relying on fcinfo when working with SAN on Solaris 10.

Probably I need to configure the zone on the switch, and then luxadm will show connected and cfgadmin will shows configured.

Please correct me if I am wrong here.

Can't tell you that, as I'm not sure (I'm suspecting it is the case, though). Anyway, let us know how it went.

Aixlover , your comment is correct, the luxadm only shows CONNECTED when you configure zones in the switches.

The status CONNECTED o NOT CONNECTED not indicate a physcical connection, luxadm CONNECTED indicate a communication betwen FC Initiator (HBA) and FC Target (Storage port normally), if zone not exists this communication not exists and the status is NOT_CONNECTED

1 Like

Thank you both. I'll create zones on the switch next week and keep you posted.

Please post the output of :
1.

cfgadm -aol show_FCP_dev
scan

or

sgscan

The result of your first command is OK, but yeah, luxadm -e port should show CONNECTED. Have you added the WWNs of the HBA card to the SAN switch DB?

Sorry about the delayed reply. Here is the result: After zones are created on switches for the new connections, everything is fine with the outputs of cfgadm and luxadm commands.