Redhat 6 - FCP adapter

The FCP adapter appears to be down on my server.  Can someone help me troubleshoot, issue commands verify this...and perhaps get it back online? (send  a reset command?)
RamblSystems AdminAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
Do you know the brand of the FC adapter in your server?

Does this command give you any info:
cat /sys/class/fc_host/host1/port_state

Open in new window

Might have to change the host1 part here...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RamblSystems AdminAuthor Commented:
Do you know any commands to attempt to bring the port up or back online?
Zephyr ICTCloud ArchitectCommented:
If you can give me more info regarding your hardware maybe, it can differ ... Did the command I gave you work?
Do you know the brand of the HBA in your device having this issue?
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

And what is down - adapter, link, path or target?
RamblSystems AdminAuthor Commented:
Yes, thanks spravtek - the command returned if it was online or not.

@gheist. This is on a HP blade chassis. It has 16 blades in it. I'm still trying to understand the hardware configuration. But, I'm guessing if the HBA is down, the other blades would be having issues too. Correct?

driver name:       lpfc
model:             554FLB
model description: HP FlexFabric 10Gb 2-port 554FLB Adapter
hardware version:  00000003
driver version:; HBAAPI(I) v2.3.b, 07-12-10
firmware version:  4.1.402.20, sli-4

host0 information. host1, which is down, is the same.

Any ideas on what command I can issue to reset or rescan it without rebooting?
Zephyr ICTCloud ArchitectCommented:
First check the lpfc's present in your system
cat dmesg | grep lpfc

Open in new window

The result would look something like this
lpfc 0000:04:00.0: 0:1103
lpfc 0000:04:00.1: 1:1103

Open in new window

To reset the specific hba you can perform following command:
First unbind
echo -n '0000:04:00.0' > /sys/bus/pci/drivers/lpfc/unbind

Open in new window

Now rebind
echo -n '0000:04:00.0' > /sys/bus/pci/drivers/lpfc/bind

Open in new window

Normally you should first check which one to reset if just some paths failed or anything before going about resetting the hba's but anyway.
How do you know anything is DOWN? Any log messages to prove it?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.