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
View individual snapshot space usage?
Re: View individual snapshot space usage?
run
(can be run per vv if need be)
to get the latest data, wait until it completes
then run
(add vv-name for the vv in question, if you want to filter per vv)
small example:
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.
Code: Select all
updatesnapspace
to get the latest data, wait until it completes
then run
Code: Select all
showvv -space
small example:
Code: Select all
----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.
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.
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.
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
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.
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