HPE Storage Users Group
https://3parug.net/

Command to find type of Device (NL or FC)
https://3parug.net/viewtopic.php?f=18&t=108
Page 1 of 1

Author:  jaishan2002 [ Tue Jan 03, 2012 6:14 am ]
Post subject:  Command to find type of Device (NL or FC)

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.

Author:  macknife [ Tue Jan 03, 2012 6:56 pm ]
Post subject:  Re: Command to find type of Device (NL or FC)

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,

Author:  jaishan2002 [ Tue Jan 03, 2012 11:42 pm ]
Post subject:  Re: Command to find type of Device (NL or FC)

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

Author:  Richard Siemers [ Tue Jan 24, 2012 1:29 am ]
Post subject:  Re: Command to find type of Device (NL or FC)

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.

Author:  jaishan2002 [ Fri Jan 27, 2012 4:53 am ]
Post subject:  Re: Command to find type of Device (NL or FC)

thank you Richard.

Yes. thats right.

Thanks
Jay

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/