Solved

Qlogic hba driver: FC Port information format

Posted on 2010-09-09
9
710 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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
 
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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

632 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