Solved

Qlogic hba driver: FC Port information format

Posted on 2010-09-09
9
698 Views
Last Modified: 2012-05-10
Hello, experts !

Could any one point to what is the format of the qla drive entry in the /proc/scsi directory:

FC Port Information:
scsi-qla1-port-0=50060160bce02a1c:  500601623ce02a1c:161f00:81;

I need to know what two last fields mean, please

>> 161f00:81

what is "161f00"
and what is "81"

Thanks a lot in advance !



0
Comment
Question by:polundra
  • 5
  • 4
9 Comments
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 33634442
161f00 is the FCID - it's assigned by the FC fabric (SAN switch in this case).

81 is probably the LUN number - but that's a guess.
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 33634450
It looks like you're connected to a Symmetrix or DMX, so I'd be moderately confident in the guess that 81 is the LUN
0
 

Author Comment

by:polundra
ID: 33634514
>> 161f00 is the FCID - it's assigned by the FC fabric (SAN switch in this case).

This could be it, do you have a reference to the format, please ?

>> 81 is probably the LUN number - but that's a guess.

I do not think so. there is not lun 81 presented from storage ...
0
 
LVL 30

Accepted Solution

by:
Duncan Meyers earned 500 total points
ID: 33634976
it is made up of FC switch domain ID, area ID and switch port number and  it's assigned by the fabric name server when the node logs in. The domain and area IDs will vary from switch manufacturer to switch manufacturer.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 33634981
Is there a LUN number 129?
0
 

Author Comment

by:polundra
ID: 33635006
there is no lun 129
0
 

Author Comment

by:polundra
ID: 33635100
Ok, found it in the source code. 81 is loop id...

Thanks for your help, meyersd !


   2600       /* Print out the port Information */
   2601       t = 0;
   2602       fcport = NULL;
   2603       copy_info(&info, "\nFC Port Information:\n");
   2604       list_for_each_entry(fcport, &ha->fcports, list) {
   2605
   2606             copy_info(&info,
   2607                   "scsi-qla%ld-port-%d="
   2608                   "%02x%02x%02x%02x%02x%02x%02x%02x:"
   2609                   "%02x%02x%02x%02x%02x%02x%02x%02x:"
   2610                   "%02x%02x%02x:%x;\n",
   2611                   ha->instance, t,
   2612                   fcport->node_name[0], fcport->node_name[1],
   2613                   fcport->node_name[2], fcport->node_name[3],
   2614                   fcport->node_name[4], fcport->node_name[5],
   2615                   fcport->node_name[6], fcport->node_name[7],
   2616                   fcport->port_name[0], fcport->port_name[1],
   2617                   fcport->port_name[2], fcport->port_name[3],
   2618                   fcport->port_name[4], fcport->port_name[5],
   2619                   fcport->port_name[6], fcport->port_name[7],
   2620                   fcport->d_id.b.domain, fcport->d_id.b.area,
   2621                   fcport->d_id.b.al_pa, fcport->loop_id);
   2622
   2623             t++;
   2624       }
0
 

Author Closing Comment

by:polundra
ID: 33635110
partially answered
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 33635548
No worries. Glad I could help.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now