cancel
Showing results for 
Search instead for 
Did you mean: 

ELM: How to find lun wwn naa?

Jump to solution

Hi,

I have several luns connected to the ELM via HBA,  and I need to disconnect one that is not in use, the difficulty here is that I can't find any relation between what I can find in the os, and what is seen on the storage side. Any idea how to display lun id on the OS side?

GetSanVolumes - does not do the job

sg_map also nothing

Best Regards

Daniel

Labels (6)
1 Solution

Accepted Solutions

Re: ELM: How to find lun wwn naa?

Jump to solution

Hi

slci - nice tool but still does not show what I need or shows it in some other format, anyway I found a way around that.

 sg_inq -p=0x83 /dev/sdd
VPD INQUIRY, page code=0x83:
 Only hex output supported
 00     00 83 00 1c 01 03 00 10  60 00 09 70 00 02 92 60    ........`..p...`
 10     40 33 53 30 33 31 37 43  01 14 00 04 00 00 00 dc    @3S0317C........

it will show you a device id, and a wwn

DEVICEDEVICEWWN
317C60000970000292604033533033313743

as on the report above you can see the device id and the wwn of the lun, my aim was to find the wwn in that format, as you can see the highlighted information is the one I was after.

If you have another way to find these please share.

Thanks

Best Regards

Daniel

 

4 Replies
McAfee Employee rlourenc
McAfee Employee
Report Inappropriate Content
Message 2 of 5

Re: ELM: How to find lun wwn naa?

Jump to solution

hi

maybe try the following commands on the ELM:

lspci
lsscsi
GetSanVolumes

i know there is a command line option to connect to the Qlogic card.

i dont have one in my elm so i cant test it.

proxima
Level 10
Report Inappropriate Content
Message 3 of 5

Re: ELM: How to find lun wwn naa?

Jump to solution

Hi,

SCLI than Option no. 2

Best Regards

MK

 

Re: ELM: How to find lun wwn naa?

Jump to solution

Hi

slci - nice tool but still does not show what I need or shows it in some other format, anyway I found a way around that.

 sg_inq -p=0x83 /dev/sdd
VPD INQUIRY, page code=0x83:
 Only hex output supported
 00     00 83 00 1c 01 03 00 10  60 00 09 70 00 02 92 60    ........`..p...`
 10     40 33 53 30 33 31 37 43  01 14 00 04 00 00 00 dc    @3S0317C........

it will show you a device id, and a wwn

DEVICEDEVICEWWN
317C60000970000292604033533033313743

as on the report above you can see the device id and the wwn of the lun, my aim was to find the wwn in that format, as you can see the highlighted information is the one I was after.

If you have another way to find these please share.

Thanks

Best Regards

Daniel

 

proxima
Level 10
Report Inappropriate Content
Message 5 of 5

Re: ELM: How to find lun wwn naa?

Jump to solution

You can also try:

systool -c fc_host -v | grep port_name

Best Regards

MK

More McAfee Tools to Help You
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • Visit: Business Service Portal
  • More: Search Knowledge Articles
  • ePolicy Orchestrator Support

    • Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center