Operating System - HP-UX
1753360 Members
4820 Online
108792 Solutions
New Discussion юеВ

Re: Fibre channel host port is OFFLINE, can not scan

 
SOLVED
Go to solution
PJJ
Frequent Advisor

Fibre channel host port is OFFLINE, can not scan

Hi all,

We're getting syslog entries about a card offline but this card looks ok with ioscan.

syslog:
Oct 1 16:10:39 node vmunix: 0/4/1/0/4/0: Fibre channel host port is OFFLINE, can not scan
Oct 1 16:10:39 node vmunix:
Oct 1 16:10:43 node EMS [2955]: ------ EMS Event Notification ------ Value: "CRITICAL (5)" for Resource: "/adapters/events/ql_adapter/0_4_1_0_4_0" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 193658881 -r /adapters/events/ql_adapter/0_4_1_0_4_0 -n 193658887 -a
Oct 1 16:13:34 borpa063 vmunix: 0/4/1/0/4/0: Fibre channel host port is OFFLINE, can not scan

The suggested command delivers:
CURRENT MONITOR DATA:

Event Time..........: Mon Oct 1 16:10:39 2007
Severity............: CRITICAL
Monitor.............: dm_ql_adapter
Event #.............: 51
System..............: borpa063.gps.ro.minjus.nl

Summary:
Adapter at hardware path 0/4/1/0/4/0 : Card is OFFLINE, cannot scan

An ioscan:
# ioscan -fnCfc
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
fc 0 0/4/1/0/4/0 fcd CLAIMED INTERFACE HP 2Gb PCI/PCI-X Fibre Channel FC/GigE Dual Port Combo Adapter
/dev/fcd0

Has anybody an idea? Thanks.
Pete
7 REPLIES 7
Torsten.
Acclaimed Contributor
Solution

Re: Fibre channel host port is OFFLINE, can not scan

How about

fcmsutil /dev/fcd0

and

fcmsutil /dev/fcd0 vpd


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rita C Workman
Honored Contributor

Re: Fibre channel host port is OFFLINE, can not scan

Is the cable properly attached ?
>> Cable could be bad <<

How do you control your SAN? Could somebody inadvertently been in and disabled that port ??
Have you looked at the lights on your switch/director ? Are they right ?

Do you have redundant fabrics ? Are both down - or just one ?

You need to start eliminating things....look at your HBA, port on switch, try new cable...

Just a thought,
Rita
PJJ
Frequent Advisor

Re: Fibre channel host port is OFFLINE, can not scan

An fcmsutil /dev/fcd0 says to me

Previous Topology = UNINITIALIZED
Link Speed = UNKNOWN
Local N_Port_id is = None
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x50060b00002ad307
N_Port Port World Wide Name = 0x50060b00002ad306
Switch Port World Wide Name = 0x0000000000000000
Switch Node World Wide Name = 0x0000000000000000
Driver state = AWAITING_LINK_UP

So i think we have to check the connection.
I'll be back with a answer to that.
Thanks for now.
Rita C Workman
Honored Contributor

Re: Fibre channel host port is OFFLINE, can not scan

...try this too..........

fcmsutil enable

It is possible somebody disabled the port by running fcmsutil -f disable

Check manpage fcmsutil

Rgrds,
Rita
Rita C Workman
Honored Contributor

Re: Fibre channel host port is OFFLINE, can not scan

Sorry...might look more like this:

fcmsutil /dev/fcd# enable
Sandman!
Honored Contributor

Re: Fibre channel host port is OFFLINE, can not scan

The "AWAITING_LINK_UP" state describes the problem. Check with your SAN team about the status of the switch port (F-port) to which the HBA is connected. Also post the output of the following:

# ioscan -funC fcp
PJJ
Frequent Advisor

Re: Fibre channel host port is OFFLINE, can not scan

Hi,
this remote system appeared to have an improperly connected fc.
Problem is solved now.

Thanks to all
Pete