Discussions specific to the RHV and KVM hypervisors
Post Reply
mdws
Novice
Posts: 8
Liked: never
Joined: Nov 03, 2011 6:14 pm
Contact:

Disk Size after Restore

Post by mdws »

Hello,

after Restore I saw that the Disk actual size is smaller as before, looks like ThinProvisioned, but <sparse>false</sparse> is set.
Is this known / expected?

Disk after installtion:

Code: Select all

<disks>
<disk href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97" id="fe8e4fed-3d1d-4659-9765-788597971b97">
<actions>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/reduce" rel="reduce"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/sparsify" rel="sparsify"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/copy" rel="copy"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/export" rel="export"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/move" rel="move"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/refreshlun" rel="refreshlun"/>
</actions>
<name>VM3_Disk1</name>
<description/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/permissions" rel="permissions"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/disksnapshots" rel="disksnapshots"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/statistics" rel="statistics"/>
<actual_size>42949672960</actual_size>
<alias>VM3_Disk1</alias>
<backup>incremental</backup>
<content_type>data</content_type>
<format>cow</format>
<image_id>297393c8-3619-4337-8771-dcb6879dee1f</image_id>
<propagate_errors>false</propagate_errors>
<provisioned_size>42949672960</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>false</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>0</total_size>
<wipe_after_delete>false</wipe_after_delete>
<disk_profile href="/ovirt-engine/api/diskprofiles/2bc9622f-fdb1-42ca-8f11-95c090efdacb" id="2bc9622f-fdb1-42ca-8f11-95c090efdacb"/>
<quota href="/ovirt-engine/api/datacenters/78f794da-5f05-4d69-8c6f-010d3a1be019/quotas/1f16560b-55f8-4722-8f55-a115c2724a1f" id="1f16560b-55f8-4722-8f55-a115c2724a1f"/>
<storage_domains>
<storage_domain href="/ovirt-engine/api/storagedomains/74020f7d-6690-47b5-869e-986e710683f7" id="74020f7d-6690-47b5-869e-986e710683f7"/>
</storage_domains>
</disk>
</disks>
Disk after Backup:

Code: Select all

<disks>
<disk href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97" id="fe8e4fed-3d1d-4659-9765-788597971b97">
<actions>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/reduce" rel="reduce"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/sparsify" rel="sparsify"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/copy" rel="copy"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/export" rel="export"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/move" rel="move"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/refreshlun" rel="refreshlun"/>
</actions>
<name>VM3_Disk1</name>
<description/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/permissions" rel="permissions"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/disksnapshots" rel="disksnapshots"/>
<link href="/ovirt-engine/api/disks/fe8e4fed-3d1d-4659-9765-788597971b97/statistics" rel="statistics"/>
<actual_size>42949672960</actual_size>
<alias>VM3_Disk1</alias>
<backup>incremental</backup>
<content_type>data</content_type>
<format>cow</format>
<image_id>297393c8-3619-4337-8771-dcb6879dee1f</image_id>
<propagate_errors>false</propagate_errors>
<provisioned_size>42949672960</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>false</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>0</total_size>
<wipe_after_delete>false</wipe_after_delete>
<disk_profile href="/ovirt-engine/api/diskprofiles/2bc9622f-fdb1-42ca-8f11-95c090efdacb" id="2bc9622f-fdb1-42ca-8f11-95c090efdacb"/>
<quota href="/ovirt-engine/api/datacenters/78f794da-5f05-4d69-8c6f-010d3a1be019/quotas/1f16560b-55f8-4722-8f55-a115c2724a1f" id="1f16560b-55f8-4722-8f55-a115c2724a1f"/>
<storage_domains>
<storage_domain href="/ovirt-engine/api/storagedomains/74020f7d-6690-47b5-869e-986e710683f7" id="74020f7d-6690-47b5-869e-986e710683f7"/>
</storage_domains>
</disk>
</disks>
Disk after Disk restore with Replace actual Disk Option:

Code: Select all

<disks>
<disk href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe" id="ac60232c-7fd7-4841-8cd2-a57520e7e5fe">
<actions>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/reduce" rel="reduce"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/sparsify" rel="sparsify"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/copy" rel="copy"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/export" rel="export"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/move" rel="move"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/refreshlun" rel="refreshlun"/>
</actions>
<name>VM3_Disk1</name>
<description/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/permissions" rel="permissions"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/disksnapshots" rel="disksnapshots"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/statistics" rel="statistics"/>
<actual_size>11005853696</actual_size>
<alias>VM3_Disk1</alias>
<backup>incremental</backup>
<content_type>data</content_type>
<format>cow</format>
<image_id>8183eeb7-e9bd-4dda-85d5-5d54407967c2</image_id>
<propagate_errors>false</propagate_errors>
<provisioned_size>42949672960</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>false</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>0</total_size>
<wipe_after_delete>false</wipe_after_delete>
<disk_profile href="/ovirt-engine/api/diskprofiles/2bc9622f-fdb1-42ca-8f11-95c090efdacb" id="2bc9622f-fdb1-42ca-8f11-95c090efdacb"/>
<quota href="/ovirt-engine/api/datacenters/78f794da-5f05-4d69-8c6f-010d3a1be019/quotas/1f16560b-55f8-4722-8f55-a115c2724a1f" id="1f16560b-55f8-4722-8f55-a115c2724a1f"/>
<storage_domains>
<storage_domain href="/ovirt-engine/api/storagedomains/74020f7d-6690-47b5-869e-986e710683f7" id="74020f7d-6690-47b5-869e-986e710683f7"/>
</storage_domains>
</disk>
</disks>
Disk after Restore Disk wit New Option (Default):

Code: Select all

<disks>
<disk href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe" id="ac60232c-7fd7-4841-8cd2-a57520e7e5fe">
<actions>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/reduce" rel="reduce"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/sparsify" rel="sparsify"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/copy" rel="copy"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/export" rel="export"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/move" rel="move"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/refreshlun" rel="refreshlun"/>
</actions>
<name>VM3_Disk1</name>
<description/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/permissions" rel="permissions"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/disksnapshots" rel="disksnapshots"/>
<link href="/ovirt-engine/api/disks/ac60232c-7fd7-4841-8cd2-a57520e7e5fe/statistics" rel="statistics"/>
<actual_size>11005853696</actual_size>
<alias>VM3_Disk1</alias>
<backup>incremental</backup>
<content_type>data</content_type>
<format>cow</format>
<image_id>8183eeb7-e9bd-4dda-85d5-5d54407967c2</image_id>
<propagate_errors>false</propagate_errors>
<provisioned_size>42949672960</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>false</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>0</total_size>
<wipe_after_delete>false</wipe_after_delete>
<disk_profile href="/ovirt-engine/api/diskprofiles/2bc9622f-fdb1-42ca-8f11-95c090efdacb" id="2bc9622f-fdb1-42ca-8f11-95c090efdacb"/>
<quota href="/ovirt-engine/api/datacenters/78f794da-5f05-4d69-8c6f-010d3a1be019/quotas/1f16560b-55f8-4722-8f55-a115c2724a1f" id="1f16560b-55f8-4722-8f55-a115c2724a1f"/>
<storage_domains>
<storage_domain href="/ovirt-engine/api/storagedomains/74020f7d-6690-47b5-869e-986e710683f7" id="74020f7d-6690-47b5-869e-986e710683f7"/>
</storage_domains>
</disk>
<disk href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32" id="d6beac94-26a1-463b-8a6b-58eb51897f32">
<actions>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/reduce" rel="reduce"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/sparsify" rel="sparsify"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/copy" rel="copy"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/export" rel="export"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/move" rel="move"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/refreshlun" rel="refreshlun"/>
</actions>
<name>VM3_Disk1</name>
<description/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/permissions" rel="permissions"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/disksnapshots" rel="disksnapshots"/>
<link href="/ovirt-engine/api/disks/d6beac94-26a1-463b-8a6b-58eb51897f32/statistics" rel="statistics"/>
<actual_size>11005853696</actual_size>
<alias>VM3_Disk1</alias>
<backup>incremental</backup>
<content_type>data</content_type>
<format>cow</format>
<image_id>3a7464cb-e158-41c4-9bd0-ac3b7c464ba8</image_id>
<propagate_errors>false</propagate_errors>
<provisioned_size>42949672960</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>false</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>0</total_size>
<wipe_after_delete>false</wipe_after_delete>
<disk_profile href="/ovirt-engine/api/diskprofiles/2bc9622f-fdb1-42ca-8f11-95c090efdacb" id="2bc9622f-fdb1-42ca-8f11-95c090efdacb"/>
<quota href="/ovirt-engine/api/datacenters/78f794da-5f05-4d69-8c6f-010d3a1be019/quotas/1f16560b-55f8-4722-8f55-a115c2724a1f" id="1f16560b-55f8-4722-8f55-a115c2724a1f"/>
<storage_domains>
<storage_domain href="/ovirt-engine/api/storagedomains/74020f7d-6690-47b5-869e-986e710683f7" id="74020f7d-6690-47b5-869e-986e710683f7"/>
</storage_domains>
</disk>
</disks>
Disk after Restore of the complete VM:

Code: Select all

<disks>
<disk href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124" id="56db3115-4fff-4d63-88ae-f45f8daf1124">
<actions>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/reduce" rel="reduce"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/sparsify" rel="sparsify"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/copy" rel="copy"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/export" rel="export"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/move" rel="move"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/refreshlun" rel="refreshlun"/>
</actions>
<name>VM3_Disk1</name>
<description/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/permissions" rel="permissions"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/disksnapshots" rel="disksnapshots"/>
<link href="/ovirt-engine/api/disks/56db3115-4fff-4d63-88ae-f45f8daf1124/statistics" rel="statistics"/>
<actual_size>11005853696</actual_size>
<alias>VM3_Disk1</alias>
<backup>incremental</backup>
<content_type>data</content_type>
<format>cow</format>
<image_id>4f0e6142-5cf4-45d9-afed-6f7fdf314b84</image_id>
<propagate_errors>false</propagate_errors>
<provisioned_size>42949672960</provisioned_size>
<qcow_version>qcow2_v3</qcow_version>
<shareable>false</shareable>
<sparse>false</sparse>
<status>ok</status>
<storage_type>image</storage_type>
<total_size>0</total_size>
<wipe_after_delete>false</wipe_after_delete>
<disk_profile href="/ovirt-engine/api/diskprofiles/2bc9622f-fdb1-42ca-8f11-95c090efdacb" id="2bc9622f-fdb1-42ca-8f11-95c090efdacb"/>
<quota href="/ovirt-engine/api/datacenters/78f794da-5f05-4d69-8c6f-010d3a1be019/quotas/1f16560b-55f8-4722-8f55-a115c2724a1f" id="1f16560b-55f8-4722-8f55-a115c2724a1f"/>
<storage_domains>
<storage_domain href="/ovirt-engine/api/storagedomains/74020f7d-6690-47b5-869e-986e710683f7" id="74020f7d-6690-47b5-869e-986e710683f7"/>
</storage_domains>
</disk>
</disks>

HannesK
Veeam Software
Posts: 11005
Liked: 2089 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Disk Size after Restore

Post by HannesK »

Hello,
as everything looks fine to me, I'm just asking for clarification: did you see any issues? I any data missing?

I'm not an expert on that XML file, but if I understand the table about incremental backup correctly, then qcow2 does not use the <sparse> tag

Best regards,
Hannes

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest