[ https://issues.apache.org/jira/browse/CLOUDSTACK-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
shweta agarwal reopened CLOUDSTACK-6224: ---------------------------------------- I tried to verify the bug . Bug is still not fixed. I created a VM on vmware 5.1 with a template of size 2GB and data disk of size 5GB . Then i created a VM snapshot of this VM When usage is generated for the VM snapshot the usage for root disk is only 37KB , for data disk usage was fine. > VM Snapshot inconsistent size > ----------------------------- > > Key: CLOUDSTACK-6224 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6224 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Hypervisor Controller, Management Server > Affects Versions: 4.2.1 > Environment: Cloudstack 4.2.1 > XenServer 6.2 > Vcenter 5.5 ESXi > Reporter: Artjoms Petrovs > Assignee: Mike Tutkowski > Labels: snapshot, vmware, xen > Fix For: 4.4.0 > > > During the creation of VM Snapshot [VMware], resulting size is written in > table „volumes”, column vm_snapshot_chain_size. It seems that size of a VM > Snapshot is calculated manually via the method getVMSnapshotChainSize(..) > and it gives overexpected result ( hundreds of terabytes ) and is much larger > than the filesize, that we can see in VMware itself. By calculating the vmdk > and vmsn file sizes manually. Xen VM snapshots [disks only] give similar > results. For me it seems that either the method works incorrectly, either it > loops between some simlinks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)