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 ?
LUN wwn (serial in nimble terms)
Re: LUN wwn (serial in nimble terms)
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.
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)
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
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
- Richard Siemers
- Site Admin
- Posts: 1331
- Joined: Tue Aug 18, 2009 10:35 pm
- Location: Dallas, Texas
Re: LUN wwn (serial in nimble terms)
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.
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
-
- Posts: 1
- Joined: Fri Jan 20, 2023 4:19 am
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