Managed OpenStack
Latest
Identify Backing Image for Instance (QEMU)
Problem
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.
Environment
Platform9 Managed OpenStack - All Versions
KVM/QEMU
Procedure
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]/disk
A backing file attribute is displayed with the path to the base image.Example:
backing file: /opt/pf9/data/instances/_base/a788db23f9e99aed9431324a7c04bafe7c633604
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
