HPE Storage Users Group https://3parug.com/ |
|
View individual snapshot space usage? https://3parug.com/viewtopic.php?f=18&t=1187 |
Page 1 of 1 |
Author: | cosmos [ Fri Feb 27, 2015 1:24 pm ] |
Post subject: | View individual snapshot space usage? |
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 |
Author: | Architect [ Fri Feb 27, 2015 3:08 pm ] |
Post subject: | Re: View individual snapshot space usage? |
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. |
Author: | cosmos [ Fri Feb 27, 2015 3:26 pm ] |
Post subject: | Re: View individual snapshot space usage? |
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. |
Author: | Architect [ Fri Feb 27, 2015 3:35 pm ] |
Post subject: | Re: View individual snapshot space usage? |
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 |
Author: | cosmos [ Fri Feb 27, 2015 4:00 pm ] |
Post subject: | Re: View individual snapshot space usage? |
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 |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |