Solved

Qlogic hba driver: FC Port information format

Posted on 2010-09-09
9
706 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
physical security query stockroom concern 8 77
Cannot unmount datastore 5 64
simple bash script needed to unpack tar.gz 4 24
exchange, squid, proxy, linux 6 27
Fine Tune your automatic Updates for Ubuntu / Debian
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computersā€¦
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

680 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