Page 1 of 1
LUN wwn (serial in nimble terms)
Posted: Sat May 23, 2020 10:22 pm
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 ?
Re: LUN wwn (serial in nimble terms)
Posted: Fri May 29, 2020 9:39 am
by ailean
That looks like the way I remember finding it last time (a while ago, pre lock down
).
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.
Re: LUN wwn (serial in nimble terms)
Posted: Mon May 17, 2021 2:55 am
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
Re: LUN wwn (serial in nimble terms)
Posted: Sun May 30, 2021 12:08 pm
by Richard Siemers
Thank you for the update with the answer! Its help future people who have the same question!
Re: LUN wwn (serial in nimble terms)
Posted: Sun Jan 29, 2023 3:29 pm
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