HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: LUN wwn (serial in nimble terms)
PostPosted: Sat May 23, 2020 10:22 pm 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: LUN wwn (serial in nimble terms)
PostPosted: Fri May 29, 2020 9:39 am 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: LUN wwn (serial in nimble terms)
PostPosted: Mon May 17, 2021 2:55 am 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: LUN wwn (serial in nimble terms)
PostPosted: Sun May 30, 2021 12:08 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: LUN wwn (serial in nimble terms)
PostPosted: Sun Jan 29, 2023 3:29 pm 

Joined: Fri Jan 20, 2023 4:19 am
Posts: 1
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

_________________
Best phentermine over the counter


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt