- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to find FC card information in RHEL 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
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
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-23-2010 05:19 AM
тАО06-23-2010 05:19 AM
1. How many FC card are there and what is the sppeed like 1G/2G/4G.
2. how to find FC card is single port ot dual port.
3. How tape drive is connected to server means on which device file ?
[root@escort log]# lspci | grep -i fibre
09:01.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
09:01.1 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
0e:02.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
0e:02.1 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
[root@escort log]# cd /proc/scsi
[root@escort scsi]# cd qla2300/
[root@escort qla2300]# ll
total 0
-rw-r--r-- 1 root root 0 Jun 23 06:18 3
-rw-r--r-- 1 root root 0 Jun 23 06:18 4
-rw-r--r-- 1 root root 0 Jun 23 06:18 5
-rw-r--r-- 1 root root 0 Jun 23 06:18 6
crwxrwxrwx 1 root root 253, 0 Jun 23 06:18 HbaApiNode
[root@escort qla2300]#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2010 06:41 AM
тАО06-23-2010 06:41 AM
Re: How to find FC card information in RHEL linux
QLA2312 is the type of the HBA chip. A bit of googling reveals its maximum speed is 2 Gbps. One chip of this type can provide only one interface, so the number of chips = number of interfaces. You have 4 FC ports in total.
The PCI device numbers are of the form bus:slot:function. In server hardware, there are usually multiple PCI buses for increased performance, so that only one or two physical slots are on each bus. The devices with identical bus+slot numbers but different function numbers are normally located on the same card, so I'd guess that you have 2 dual-port cards.
(Some dual-port or multi-function cards might include a PCI bridge chip, in which case the numbering might be more complex.)
Ignore the reported file size, and run "cat /proc/scsi/qla2300/3".
Also run "lspci -s 09:01.0 -v" to get more details about the PCI device. The subsystem ID might allow the card to be identified.
If the lspci command on the host cannot interpret the number, run "lspci -s 09:01.0 -v -n" to see the device IDs in numeric form. In your case, the vendor:device pair will be 1077:2312, and the subsystem ID pair will be something different.
Here's a direct link to the PCI ID repository's page on QLogic QLA2312 devices.
If the numeric subsystem IDs match to the devices listed on this page, you'll know the exact model of the card.
http://pci-ids.ucw.cz/read/PC/1077/2312
If your cards' subsystem IDs are not listed in the PCI ID repository, please consider submitting the subsystem information to the repository to help others.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2010 10:23 PM
тАО06-23-2010 10:23 PM
Re: How to find FC card information in RHEL linux
QLogic Fibre Channel HBA Driver
ACPI: PCI Interrupt 0000:0a:01.0[A] -> GSI 97 (level, low) -> IRQ 225
qla2300 0000:0a:01.0: Found an ISP2312, irq 225, iobase 0xf8826000
qla2300 0000:0a:01.0: Configuring PCI space...
qla2300 0000:0a:01.0: Configure NVRAM parameters...
qla2300 0000:0a:01.0: Verifying loaded RISC code...
qla2300 0000:0a:01.0: Waiting for LIP to complete...
qla2300 0000:0a:01.0: LOOP UP detected (2 Gbps).
qla2300 0000:0a:01.0: Topology - (F_Port), Host Loop address 0xffff
scsi0 : qla2xxx
qla2300 0000:0a:01.0:
QLogic Fibre Channel HBA Driver: 8.02.09.02.04.08-d
QLogic QLA2342 -
ISP2312: PCI-X (133 MHz) @ 0000:0a:01.0 hdma+, host#=0, fw=3.03.20 IPX
Vendor: DGC Model: RAID 3 Rev: 0226
Type: Direct-Access ANSI SCSI revision: 04
qla2300 0000:0a:01.0: scsi(0:0:0:0): Enabled tagged queuing, queue depth 32.
Vendor: DGC Model: RAID 3 Rev: 0226
Type: Direct-Access ANSI SCSI revision: 04
qla2300 0000:0a:01.0: scsi(0:0:0:1): Enabled tagged queuing, queue depth 32.
it contains a lot of info you are looking for right there, you will find all qlogic cards have their entry (even if nothing is connected), the configured speed on a port, it will also list all ports of that card. you will see a description for all devices discovered on that port, a tape drive will show as, for example;
qla2300 0000:0a:01.1:
QLogic Fibre Channel HBA Driver: 8.02.09.02.04.08-d
QLogic QLA2342 -
ISP2312: PCI-X (133 MHz) @ 0000:0a:01.1 hdma+, host#=1, fw=3.03.20 IPX
Vendor: HP Model: Ultrium 2-SCSI Rev: K710
Type: Sequential-Access ANSI SCSI revision: 03
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 12:38 AM
тАО06-24-2010 12:38 AM
Re: How to find FC card information in RHEL linux
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1435514
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2010 12:20 PM
тАО06-24-2010 12:20 PM
SolutionYour lspci command gives you the model number of the device file pretty nicely. To see the port layout, either look at the system or check the qlogic website. There really is no information stored on the system about number of ports.
Though ll /proc/ssci/qla2300/ | wc -l might give some interesting answers.
hp_rescan from PSP and other PSP tools will give you the best information in this area if its an HP branded server.
Sadly there is no universal tool like HP-UX ioscan which works perfectly because the variety of hardware that Linux runs on is wide.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 03:02 AM
тАО06-25-2010 03:02 AM
Re: How to find FC card information in RHEL linux
I have got my answer I can see in lspci output that there are 2 HBA card with dual port and I have cross verified as in /proc/scsi/qla2300 as there are 4 files for each port and 2 ports of same HBA card has the same serial no.
Thanks for you time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 03:03 AM
тАО06-25-2010 03:03 AM