Page 1 of 1

Command to find type of Device (NL or FC)

Posted: Tue Jan 03, 2012 6:14 am
by jaishan2002
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.

Re: Command to find type of Device (NL or FC)

Posted: Tue Jan 03, 2012 6:56 pm
by macknife
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: Select all

% 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: Select all

% showvv -cpgalloc -host <HOSTNAME>


For example:

Code: Select all

% 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,

Re: Command to find type of Device (NL or FC)

Posted: Tue Jan 03, 2012 11:42 pm
by jaishan2002
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

Re: Command to find type of Device (NL or FC)

Posted: Tue Jan 24, 2012 1:29 am
by Richard Siemers
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.

Re: Command to find type of Device (NL or FC)

Posted: Fri Jan 27, 2012 4:53 am
by jaishan2002
thank you Richard.

Yes. thats right.

Thanks
Jay