Command to find type of Device (NL or FC)

Post Reply
jaishan2002
Posts: 5
Joined: Mon Jan 02, 2012 4:30 am

Command to find type of Device (NL or FC)

Post 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.
macknife
Posts: 7
Joined: Tue Jan 03, 2012 6:32 pm

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

Post 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,
jaishan2002
Posts: 5
Joined: Mon Jan 02, 2012 4:30 am

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

Post 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
User avatar
Richard Siemers
Site Admin
Posts: 1333
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

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

Post 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.
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
jaishan2002
Posts: 5
Joined: Mon Jan 02, 2012 4:30 am

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

Post by jaishan2002 »

thank you Richard.

Yes. thats right.

Thanks
Jay
Post Reply