kiranchavala commented on issue #8644: URL: https://github.com/apache/cloudstack/issues/8644#issuecomment-1940881879
The issue is not observed for data disk which is created with Provisioning type as fat and storage type as shared 1. Create a disk offering with Provisioning type as fat and storage type as shared  2. Creat a data disk based on the disk offering and attach it to a vm 3. Check the data disk size using "qemu-img" command [root@ol8 572d3541-3854-3123-9590-76639ffcd579]# qemu-img info 49fae15b-ab71-4733-a087-ca429e34d3cc image: 49fae15b-ab71-4733-a087-ca429e34d3cc file format: qcow2 virtual size: 10 GiB (10737418240 bytes) disk size: 11 GiB cluster_size: 65536 Format specific information: compat: 1.1 compression type: zlib lazy refcounts: false refcount bits: 16 corrupt: false extended l2: false Logs ---- 2024-02-13 04:39:12,821 DEBUG [utils.script.Script] (agentRequest-Handler-3:null) (logid:28c0fe7b) Executing: qemu-img create -o preallocation=full -f qcow2 /mnt/572d3541-3854-3123-9590-76639ffcd579/49fae15b-ab71-4733-a087-ca429e34d3cc 10737418240 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
