HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Command to find type of Device (NL or FC)
PostPosted: Tue Jan 03, 2012 6:14 am 

Joined: Mon Jan 02, 2012 4:30 am
Posts: 5
Hi,

Any one have any idea what is the CLI command to find what type of Virtual volume (FC or NL) in T400 3PAr Box

NOTE: I can find using info managemnet console GUI but no CLI.


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to find type of Device (NL or FC)
PostPosted: Tue Jan 03, 2012 6:56 pm 

Joined: Tue Jan 03, 2012 6:32 pm
Posts: 7
One way that I've figured out is sort of a multistep process. If you know of a single command to do it please share! I'm still new at this (3 months).

This shows you the common provisioning groups (CPGs) configured:
Code:
% showcpg -sdg

Then use the 'showvv' command to display information about the virtual volumes belonging to the host. Note that <HOSTNAME> is case sensitive and must match up with what your host is specified as.
Code:
% showvv -cpgalloc -host <HOSTNAME>


For example:
Code:
% showcpg -sdg
          ------(MB)------                     
Id Name   Warn Limit  Grow Args               
 0 DISKFCR1    -     - 32768 -t r5 -p -devtype FC
 1 DISKNLR1    -     - 32768 -t r6 -p -devtype NL
 
 % showvv -cpgalloc -host HOST08
 Id Name        Prov Type UsrCPG SnpCPG
333 HOST08_F tpvv base DISKFCR1 --   
334 HOST08_G tpvv base DISKFCR1 --   
335 HOST08_T tpvv base DISKFCR1 --   
337 HOST08_Y tpvv base DISKNLR1 --   
336 HOST08_Z tpvv base DISKFCR1 --   
---------------------------------------
  5 total

Hope that helps,


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to find type of Device (NL or FC)
PostPosted: Tue Jan 03, 2012 11:42 pm 

Joined: Mon Jan 02, 2012 4:30 am
Posts: 5
Thank you very much for your reply.

Unfortunatly we are not using CPG in our environment.

I am still trying to find the command, I will share to you if I found.

Thanks
Jay


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to find type of Device (NL or FC)
PostPosted: Tue Jan 24, 2012 1:29 am 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
Another possible approach is:

showpdvv -p -devtype NL
showpdvv -p -devtype FC

This take a minute to run, and will output all the PDs and which VVs use them, filtered by PD type.

_________________
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: Command to find type of Device (NL or FC)
PostPosted: Fri Jan 27, 2012 4:53 am 

Joined: Mon Jan 02, 2012 4:30 am
Posts: 5
thank you Richard.

Yes. thats right.

Thanks
Jay


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: Google [Bot] and 57 guests


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