cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 6

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
Former Member
Not applicable
Report Inappropriate Content
Message 4 of 6

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

 

View solution in original post

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

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.

Former Member
Not applicable
Report Inappropriate Content
Message 3 of 6

Re: ELM: How to find lun wwn naa?

Jump to solution

Hi,

SCLI than Option no. 2

Best Regards

MK

 

Former Member
Not applicable
Report Inappropriate Content
Message 4 of 6

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

 

Former Member
Not applicable
Report Inappropriate Content
Message 5 of 6

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

Dimm
Level 10
Report Inappropriate Content
Message 6 of 6

Re: ELM: How to find lun wwn naa?

Jump to solution

When you click "Data storage" or "Storage Pools" in ELM properties, while GUI opens the window, WWPN is being written in logs (/var/log/messages on ELM). Grep by WWPN and you will find it easily.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community