Identify Backing Image for Instance (QEMU)
PreviousObtain Compute Hosts/Hypervisor Info Using APINextExclude Set of Hypervisors While Migrating Instances Without Shared Storage
Last updated
An instance, spawned on a KVM hypervisor leveraging QEMU virtualization, has an ephemeral disk which is typically backed by a base image in QCOW2 format. It may be necessary in some cases to verify the validity of the base image file. In order to do so, the file location of the backing image must be identified.
Platform9 Managed OpenStack - All Versions
KVM/QEMU
Identify the following prior to any subsequent steps.
Instance UUID
Hypervisor/Host on which the instance resides.
File path of the instance storage for that particular hypervisor.
SSH to the instance's hypervisor.
Query the image information of the disk file associated with the instance.
# qemu-img info [INSTANCE_STORAGE_PATH]/[INSTANCE_UUID]/diskA backing file attribute is displayed with the path to the base image.Example:
Last updated
backing file: /opt/pf9/data/instances/_base/a788db23f9e99aed9431324a7c04bafe7c633604