LUN wwn (serial in nimble terms)

Post Reply
JinSXS
Posts: 33
Joined: Wed Jun 13, 2018 2:31 am

LUN wwn (serial in nimble terms)

Post by JinSXS »

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 ?
ailean
Posts: 392
Joined: Wed Nov 09, 2011 12:01 pm

Re: LUN wwn (serial in nimble terms)

Post by ailean »

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.
JinSXS
Posts: 33
Joined: Wed Jun 13, 2018 2:31 am

Re: LUN wwn (serial in nimble terms)

Post by JinSXS »

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
User avatar
Richard Siemers
Site Admin
Posts: 1331
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

Re: LUN wwn (serial in nimble terms)

Post by Richard Siemers »

Thank you for the update with the answer! Its help future people who have the same question!
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
MelvinLynch
Posts: 1
Joined: Fri Jan 20, 2023 4:19 am

Re: LUN wwn (serial in nimble terms)

Post by MelvinLynch »

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
Post Reply