Offline HBA.

Hi,

I have a HBA that is currently offline for some unknown reason. The device shows up in the prtdiag -v stating it is okay. How can I bring this back online? It was working okay until recently. It is currently connected to the SAN. Details below.

# fcinfo hba-port
HBA Port WWN: 10000000c9728213
        OS Device Name: /dev/cfg/c2
        Manufacturer: SUN MICROSYSTEMS, INC.
        Model: LP11000-S
        Firmware Version: 2.10a10
        FCode/BIOS Version: 1.50a9
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: 20000000c9728213
HBA Port WWN: 10000000c9727e37
        OS Device Name: /dev/cfg/c3
        Manufacturer: SUN MICROSYSTEMS, INC.
        Model: LP11000-S
        Firmware Version: 2.10a10
        FCode/BIOS Version: 1.50a9
        Type: unknown
        State: offline
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: not established
        Node WWN: 20000000c9727e37


#prtdiag -v 
pciex   199   MB/PCI0     SUNW,emlxs-pciex10df,fc20 (s+ LPe11000-S
              okay        /pci@1e,600000/pci@0/pci@8/SUNW,emlxs@0

pciex   199   MB/PCI1     SUNW,emlxs-pciex10df,fc20 (s+ LPe11000-S
              okay        /pci@1f,700000/pci@0/pci@8/SUNW,emlxs@0

Thanks.

this should be a SAN problem... the port is offline. which means PLOGI and FLOGI haven't run successfull.

also, please use CODE tags if you post output from commands!

try this..
luxadm -e forcelip /dev/cfg/c3

check the status of HBA leds and let us know what you see

Thanks for your replies.

I am checking the SAN configuration now.

Looking at the HBA there is one green light and one flashing orange light. The output of the command is below.

luxadm -e forcelip /dev/cfg/c3
 Error: FCIO_RESET_LINK ioctl failed.
 Could not reset the loop. - /dev/cfg/c3

what if you did this?
luxadm -e forcelip /devices/pci@0,0/pci10de,5d@e/pci1077,143@0,1/fp@0,0:devctl <-- replace with your device path
its posssible that something is wrong at the switch end and its worth doing a check on the zonings etc

you should not get Error: FCIO_RESET_LINK ioctl failed.
btw whats your sol 10 kernel patch level. did you apply the SAN patches to the system.

Hi Incredible,

Unfortunately it's still the same.

luxadm -e forcelip /devices/pci@1f,700000/pci@0,2/SUNW,emlxs@1/fp@0,0:devctl
 Error: FCIO_RESET_LINK ioctl failed.
 Could not reset the loop. - /devices/pci@1f,700000/pci@0,2/SUNW,emlxs@1/fp@0,0:devctl.

check on your fibre switch conn settings.. From the brocade, is it shows as connected?

Hi Incredible,

I will need downtime now to start troubleshooting the fibre switch and cables etc. I will get this tomorrow and post what I find. Thanks.