- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- HOW TO FIND HBA DETAILS IN LINUX
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО06-05-2009 11:01 AM
тАО06-05-2009 11:01 AM
How do I find the make/model of all my HBAs on my Linux Server? I am looking for something similar to "ioscan -fnC" in HP-UX.
At the moment, I use "dmesg | grep -i Fibre" to collect information. I dont always get the results if the message files have outgrown their size values.
Any input would be most appreciated.
Regards,
Kennedy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 11:21 AM
тАО06-05-2009 11:21 AM
Re: HOW TO FIND HBA DETAILS IN LINUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 11:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2009 02:56 AM
тАО06-06-2009 02:56 AM
Re: HOW TO FIND HBA DETAILS IN LINUX
depending on kernel version you also can find some information under /sys.
search
/sys/class/scsi_host/host?/*
or
/sys/class/fc_host/host?/*
here you can find information about WWN, topology, speed, etc
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 12:00 AM
тАО06-08-2009 12:00 AM
Re: HOW TO FIND HBA DETAILS IN LINUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:32 AM
тАО06-08-2009 04:32 AM
Re: HOW TO FIND HBA DETAILS IN LINUX
You can find HBA details by
#df -h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 01:28 PM
тАО06-08-2009 01:28 PM
Re: HOW TO FIND HBA DETAILS IN LINUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 02:26 PM - last edited on тАО04-10-2025 12:47 AM by Sunitha_Mod
тАО06-08-2009 02:26 PM - last edited on тАО04-10-2025 12:47 AM by Sunitha_Mod
Re: HOW TO FIND HBA DETAILS IN LINUX
Another thing i would like to add, sited from:http://publib.boulder.ibm.com/infocenter/dsichelp/ds8000ic/index.jsp?topic=/com.ibm.storage.ssic.help.doc/f2c_loclinux_192wga.html
[Moderator edit: The above link no longer valid.]
Locating the WWPN for a Linux host
This topic describes several methods you can use to locate the worldwide port name (WWPN) for an Intel├В┬о or AMD host that is running the Linux├В┬о operating system.
About this task
* Locating the WWPN without restarting the host
To locate the WWPN without restarting the host, you can use any of the following methods:
o For QLogic or Emulex adapters, you can find the WWPN in the /proc/scsi/adapter_type/n directory, where adapter_type is the host adapter type and n is the host adapter number for your card. Your host adapter type can be either qlaxxxx for QLogic adapters or lpfc for Emulex adapters.
o If you downloaded a QLogic adapter from the QLogic Web site instead of using the default version that is shipped with RHEL, to find the WWPN run the cat /proc/scsi/adapter_type/n command, where adapter_type is the host adapter type (for example, qla2xxx or qla2300), and n is the host adapter number for your card.
o For a QLogic adapter that is shipped with RHEL 4.x or earlier, to find the WWPN run the cat /proc/scsi/adapter_type/n command, where adapter_type is the host adapter type, and n is the host adapter number for your card. In most cases, the adapter type is qla2xxx.
o For a QLogic adapter that is shipped with RHEL 5.x or later, the adapter WWPN information might not be available in the/proc/scsi/adapter_type/n directory because of the migration to sysfs, If this is the case, run the following command:
cat /sys/class/scsi_host/hostn/device/fchost\:hostn/port_name
where n is the host adapter number for your card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 04:21 AM
тАО06-15-2009 04:21 AM
Re: HOW TO FIND HBA DETAILS IN LINUX
Actually, /sys/class/scsi_host/host0/device/fchost\:host0 (for example) is a symbolic link that points back to:
/sys/class/fc_host/host0
So you might as well just go there (less typing) and cat the contents of port_name, etc.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2011 07:29 AM
тАО05-19-2011 07:29 AM
Re: HOW TO FIND HBA DETAILS IN LINUX
Thanks & Regards,
CNR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2011 07:59 AM
тАО05-19-2011 07:59 AM