HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Command to collect space usage by VVSet
PostPosted: Wed Sep 29, 2021 5:56 am 

Joined: Wed Sep 03, 2014 7:58 am
Posts: 9
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to collect space usage by VVSet
PostPosted: Wed Sep 29, 2021 7:06 am 

Joined: Mon Sep 21, 2015 2:11 pm
Posts: 1570
Location: Europe
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to collect space usage by VVSet
PostPosted: Wed Sep 29, 2021 9:07 am 

Joined: Wed Sep 03, 2014 7:58 am
Posts: 9
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).


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to collect space usage by VVSet
PostPosted: Wed Sep 29, 2021 2:09 pm 

Joined: Mon Sep 21, 2015 2:11 pm
Posts: 1570
Location: Europe
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Command to collect space usage by VVSet
PostPosted: Wed Oct 06, 2021 11:36 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
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.


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 41 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