For example, when converting to a thick-provisioned qcow2 image, you must label it as EMS or SBC:
In this example, one image is labeled as EMS and the other as the first SBC. For subsequent EMS or SBC images, replace the number "1" with the following sequential number.
Ensure that you convert the thin-provisioned qcow2 image downloaded from PLDS to a thick-provisioned format.
Ensure that the thick image includes a -thick identifier and role label (for example, EMS or SBC) when running the commands.
Procedure
Run the conversion command to create the thick-provisioned image using the thick-provisioned image name.
Verify both the thin and thick qcow2 files are present in the staging directory.
For example, run the following command:
ls -l
The thin and thick-provisioned image files are listed as follows:
-rw-r-----. 1 custadm custadm 3417178112 Nov 25 2024 sbce-10.2.1.0-101-24795.qcow2
-rw-r-----. 1 root root 68730224640 Oct 3 19:54 sbce-10.2.1.0-101-24795-EMS1-thick.qcow2
Check the disk size of the thick image to confirm the conversion was successful.
For example, run the following command:
qemu-img info sbce-10.2.1.0-101-24795-EMS1-thick.qcow2
The disk size shows as 64 GiB for EMS or SBC VMs.
Note:
Check the disk size, not the virtual size. In a thin-provisioned qcow2 image, the virtual size also displays as 64 GiB, but the disk size is approximately 3.18 GiB.
A sample output from the qemu-img info sbce-10.2.1.0-101-24795-EMS1-thick.qcow2 is as follows:
[custadm@aasp130clv staging]$ qemu-img info sbce-10.2.1.0-101-24795-EMS1-thick.qcow2
image: sbce-10.2.1.0-101-24795-EMS1-thick.qcow2
file format: qcow2
virtual size: 64 GiB (68719476736 bytes)
disk size: 64 GiB
cluster_size: 65536
Format specific information:
compat: 1.1
compression type: zlib
lazy refcounts: false
refcount bits: 16
corrupt: false
extended l2: false
[custadm@aasp130clv staging]$
Move the thick image to the /var/lib/libvirt/images directory: