Command to collect space usage by VVSet

Post Reply
dardan
Posts: 9
Joined: Wed Sep 03, 2014 7:58 am

Command to collect space usage by VVSet

Post by dardan »

I was wondering if anyone could help me figure out any possible command combination which allows me to pull the size of VV Sets.
In our environment we a VV Sets for each Cluster, and these way I would be able to report space usage for each cluster. The idea is to script this using WSAPI or PowerShell Toolkit provided.
MammaGutt
Posts: 1578
Joined: Mon Sep 21, 2015 2:11 pm
Location: Europe

Re: Command to collect space usage by VVSet

Post by MammaGutt »

dardan wrote:I was wondering if anyone could help me figure out any possible command combination which allows me to pull the size of VV Sets.
In our environment we a VV Sets for each Cluster, and these way I would be able to report space usage for each cluster. The idea is to script this using WSAPI or PowerShell Toolkit provided.



I think most commands providing space information will both accept VVs and VVsets. So this kind of depends on what info you are looking for in what type of environment.
The views and opinions expressed are my own and do not necessarily reflect those of my current or previous employers.
dardan
Posts: 9
Joined: Wed Sep 03, 2014 7:58 am

Re: Command to collect space usage by VVSet

Post by dardan »

MammaGutt wrote:
dardan wrote:I was wondering if anyone could help me figure out any possible command combination which allows me to pull the size of VV Sets.
In our environment we a VV Sets for each Cluster, and these way I would be able to report space usage for each cluster. The idea is to script this using WSAPI or PowerShell Toolkit provided.



I think most commands providing space information will both accept VVs and VVsets. So this kind of depends on what info you are looking for in what type of environment.


Thanks for the reply.
Showvv or showspace (for the entire storage array) won't give me any space information for vvol sets, and that's the hassle.
I've tried WSAPI commands or PS commands from the Powershell Tool Kit 3.1, none providing such commands (or maybe I'm missing something).
MammaGutt
Posts: 1578
Joined: Mon Sep 21, 2015 2:11 pm
Location: Europe

Re: Command to collect space usage by VVSet

Post by MammaGutt »

dardan wrote:
MammaGutt wrote:
dardan wrote:I was wondering if anyone could help me figure out any possible command combination which allows me to pull the size of VV Sets.
In our environment we a VV Sets for each Cluster, and these way I would be able to report space usage for each cluster. The idea is to script this using WSAPI or PowerShell Toolkit provided.



I think most commands providing space information will both accept VVs and VVsets. So this kind of depends on what info you are looking for in what type of environment.


Thanks for the reply.
Showvv or showspace (for the entire storage array) won't give me any space information for vvol sets, and that's the hassle.
I've tried WSAPI commands or PS commands from the Powershell Tool Kit 3.1, none providing such commands (or maybe I'm missing something).


showvv
Syntax
showvv [options] [<VV_name|pattern|VV_set> ...]
The views and opinions expressed are my own and do not necessarily reflect those of my current or previous employers.
User avatar
Richard Siemers
Site Admin
Posts: 1333
Joined: Tue Aug 18, 2009 10:35 pm
Location: Dallas, Texas

Re: Command to collect space usage by VVSet

Post by Richard Siemers »

showvv -space MyVVsetName

Asterisk is wildcard. If you have a solid naming convention in place, you can accomplish some CLI wizardry.

Example:
showvv -space *SQL*
showvv -space *ORA*
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
Post Reply