HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: View individual snapshot space usage?
PostPosted: Fri Feb 27, 2015 1:24 pm 

Joined: Thu Oct 23, 2014 11:06 am
Posts: 9
Is there a quick CLI method to view the actual space being consumed by each individual snapshot on the system?

Currently can view total snapshot space used via CLI and GUI but have not found where it shows each individual space usage. Prefer CLI so can script this.

example to illustrate what im looking for:

snapshot1_rw 5G
snapshot2_rw 1G
snapshot3_rw 200G

total: 206G

thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: View individual snapshot space usage?
PostPosted: Fri Feb 27, 2015 3:08 pm 

Joined: Thu Dec 06, 2012 1:25 pm
Posts: 138
run
Code:
updatesnapspace
(can be run per vv if need be)
to get the latest data, wait until it completes
then run
Code:
showvv -space
(add vv-name for the vv in question, if you want to filter per vv)

small example:
Code:
                                           ----Adm---- -----------Snp------------ ------------Usr------------
                                             ---(MB)---- ----(MB)---- --(% VSize)-- ----(MB)----- --(% VSize)-- ------(MB)------- -Capacity Efficiency-
Id Name                           Prov Type   Rsvd  Used  Rsvd   Used  Used Wrn Lim   Rsvd   Used  Used Wrn Lim Tot_Rsvd    VSize   Compaction    Dedup
 5 some-store1-3389157            tpvv base    384    67 10752   9423   0.9   0   0  40448  39884   3.8   0   0    51584  1048832        361.1       --
59  rmv_86199b17c11d1f7c7910982f2 snp  vcopy    --    *1    --    *22  *0.0   0   0     --     --    --  --  --       --  1048832           --       --
63  rmv_9361621cd92d1f89cc9519a65 snp  vcopy    --    *1    --   *115  *0.0   0   0     --     --    --  --  --       --  1048832           --       --


Now look at the Snp Used column.
9423MB is the total snapspace in use by all snaps in the volume, the snaps below are 22MB and 115MB in size. I left a couple out to keep this readable.

_________________
The goal is to achieve the best results by following the clients wishes. If they want to have a house build upside down standing on its chimney, it's up to you to figure out how do it, while still making it usable.


Top
 Profile  
Reply with quote  
 Post subject: Re: View individual snapshot space usage?
PostPosted: Fri Feb 27, 2015 3:26 pm 

Joined: Thu Oct 23, 2014 11:06 am
Posts: 9
it does not appear our version of os has showvv -space. no mention of it in help command and errors out on cli

Release version 3.1.3 (MU1)

Thanks for the tip though. I have tried showvv -r etc but even after updatesnapspace it never shows the individual snaps usage just the total.


Top
 Profile  
Reply with quote  
 Post subject: Re: View individual snapshot space usage?
PostPosted: Fri Feb 27, 2015 3:35 pm 

Joined: Thu Dec 06, 2012 1:25 pm
Posts: 138
ah, try showvv -s in that case. I haven't got a 3.1.3 machine with snaps handy to check, but from memory it should work

_________________
The goal is to achieve the best results by following the clients wishes. If they want to have a house build upside down standing on its chimney, it's up to you to figure out how do it, while still making it usable.


Top
 Profile  
Reply with quote  
 Post subject: Re: View individual snapshot space usage?
PostPosted: Fri Feb 27, 2015 4:00 pm 

Joined: Thu Oct 23, 2014 11:06 am
Posts: 9
Architect wrote:
ah, try showvv -s in that case. I haven't got a 3.1.3 machine with snaps handy to check, but from memory it should work


that works! thanks for the tip until we get updated to 3.2.x


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: Majestic-12 [Bot] and 191 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