HPE Storage Users Group
https://3parug.org/

LUN wwn (serial in nimble terms)
https://3parug.org/viewtopic.php?f=26&t=3408
Page 1 of 1

Author:  JinSXS [ Sat May 23, 2020 10:22 pm ]
Post subject:  LUN wwn (serial in nimble terms)

Hi guys,

any of you manage to find a quick way to list all the WWN of the LUN
especially when provisioning new LUN to servers/vm the WWN is important..

other systems its easy to get the wwn via a single line command..
so far i'm doing on vol --info LUNNAME | grep Serial

is there a easier way to do it ?

Author:  ailean [ Fri May 29, 2020 9:39 am ]
Post subject:  Re: LUN wwn (serial in nimble terms)

That looks like the way I remember finding it last time (a while ago, pre lock down :roll: ).
I can't remember what I was looking for but I did manage to get some useful results from the powershell interface, so you could give that a try.

Author:  JinSXS [ Mon May 17, 2021 2:55 am ]
Post subject:  Re: LUN wwn (serial in nimble terms)

hi an update and to share with you guys

get WWN via vol --list by keyword

Nimble OS $ vol=$(vol --list | awk '{print $1}' | grep VolName); for i in ${vol[*]}; do echo $i; vol --info $i | grep Serial; done

can also sort by folder

Nimble OS $ vol=$(vol --list --folder XXX | awk '{print $1}'); for i in ${vol[*]}; do echo $i; vol --info $i | grep Serial; done

Author:  Richard Siemers [ Sun May 30, 2021 12:08 pm ]
Post subject:  Re: LUN wwn (serial in nimble terms)

Thank you for the update with the answer! Its help future people who have the same question!

Author:  MelvinLynch [ Sun Jan 29, 2023 3:29 pm ]
Post subject:  Re: LUN wwn (serial in nimble terms)

JinsSXS wrote:
hi an update and to share with you guys

get WWN via vol --list by keyword

Nimble OS $ vol=$(vol --list | awk '{print $1}' | grep VolName); for i in ${vol[*]}; do echo $i; vol --info $i | grep Serial; done

can also sort by folder

Nimble OS $ vol=$(vol --list --folder XXX | awk '{print $1}'); for i in ${vol[*]}; do echo $i; vol --info $i | grep Serial; done


This has things like the device serial number (sometimes called a WWN). This, in combination with the vendor Organizational Uinque

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/