I'm not exactly sure how this number is calculated, but - if you are using XenServer - remember that after the first snapshot for a volume, each subsequent snapshot is only the blocks that have changed since the prior snapshot (this might even be true for ESX these days with CloudStack).
That being the case, unless you change all 8 GB of blocks each time before doing a snapshot, you should expect your snapshots to be < 8 GB (potentially very small, if you didn't change much since the last snapshot). On Mon, Dec 8, 2014 at 10:15 PM, Gaurav Aradhye <gaurav.arad...@clogeny.com> wrote: > Hello, > > When I create a snapshot, from say, template registered through an account, > then > > 1) How can I know the snapshot size on secondary storage? (API > listSnapshots does not specify the snapshot size) > > 2) How is snapshot size counted in secondary storage used by the account? > Currently I can see secondary storage count increasing by the (number of > snapshots) and not the snapshot size. > > E.g. I have template sized 8 GB. I create a snapshot from it. Now if I list > the secondary storage used by the account, then it lists as "9" (GB). If I > create another snapshot, then it lists it as 10. It is not possible for my > snapshot size to be 1 (GB) because it's created from root volume having > size 8 GB. > > Can I say it's a bug? Secondary storage count being listed as (Storage > other than snapshot + number of snapshots) GB. > > Regards, > Gaurav > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud <http://solidfire.com/solution/overview/?video=play>*™*