HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux RHEL qla2xxx loop status
Operating System - Linux
1828879
Members
2764
Online
109985
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2010 11:00 PM
05-04-2010 11:00 PM
Hi all,
Got a RHEL server connected to SAN. Yesterday received error messages telling me some of the qla2xxx where dead.
# for i in 0 1 2 3 ; do echo "HBA: `pwd`/$i" ; cat $i | grep -i state; done
HBA: /proc/scsi/qla2xxx/0
Host adapter:loop state =, flags = 0x1a03
HBA: /proc/scsi/qla2xxx/1
Host adapter:loop state =, flags = 0x1a03
HBA: /proc/scsi/qla2xxx/2
Host adapter:loop state =, flags = 0x1a03
HBA: /proc/scsi/qla2xxx/3
Host adapter:loop state =, flags = 0x1a03
#
What I am missing / needing would be to know the different status possible for the loop state and the corresponding error description?
READY : all is good
DEAD : ?
....
Regards,
Thierry
Got a RHEL server connected to SAN. Yesterday received error messages telling me some of the qla2xxx where dead.
# for i in 0 1 2 3 ; do echo "HBA: `pwd`/$i" ; cat $i | grep -i state; done
HBA: /proc/scsi/qla2xxx/0
Host adapter:loop state =
HBA: /proc/scsi/qla2xxx/1
Host adapter:loop state =
HBA: /proc/scsi/qla2xxx/2
Host adapter:loop state =
HBA: /proc/scsi/qla2xxx/3
Host adapter:loop state =
#
What I am missing / needing would be to know the different status possible for the loop state and the corresponding error description?
READY : all is good
DEAD : ?
....
Regards,
Thierry
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2010 06:52 AM
05-05-2010 06:52 AM
Solution
I think that the information that you need is available in the source code for the qlogic driver:
http://lxr.oss.org.cn/source/drivers/scsi/qla2xxx/qla_os.c
Whenever, a port is in the LOST state we start decrementing its port down timer every second until it reaches zero. Once it reaches zero
the port it marked DEAD.
loop_state) == LOOP_DOWN)
loop_state) == LOOP_UP)
loop_state) == LOOP_READY)
loop_state) == LOOP_TIMEOUT)
loop_state) == LOOP_UPDATE)
loop_state = "UNKNOWN";
http://lxr.oss.org.cn/source/drivers/scsi/qla2xxx/qla_os.c
Whenever, a port is in the LOST state we start decrementing its port down timer every second until it reaches zero. Once it reaches zero
the port it marked DEAD.
loop_state) == LOOP_DOWN)
loop_state) == LOOP_UP)
loop_state) == LOOP_READY)
loop_state) == LOOP_TIMEOUT)
loop_state) == LOOP_UPDATE)
loop_state = "UNKNOWN";
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2010 04:52 PM
05-05-2010 04:52 PM
Re: Linux RHEL qla2xxx loop status
If you have hp_fibreutils installed, then verify the /opt/hp/hp_fibreutils/adapter_info output. Looks like you lost the link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2010 11:22 PM
05-05-2010 11:22 PM
Re: Linux RHEL qla2xxx loop status
Info on Loop state received and link that were marked as DEAD where disconnected because not in use.
Thierry
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP