Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Qlogic hba driver: FC Port information format

Posted on 2010-09-09
9
Medium Priority
?
716 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
Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 
LVL 30

Accepted Solution

by:
Duncan Meyers earned 1500 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
New style of hardware planning for Microsoft Exchange server.
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 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 …
Suggested Courses

730 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