kiranchavala commented on issue #8644:
URL: https://github.com/apache/cloudstack/issues/8644#issuecomment-1940879892

   **The issue is not observed for root disk where the service offering is of  
Provisioning type as fat and storage type  as local**
   
   
   1. Create a service offering Provisioning type as fat and storage type  as 
local
   ![Screenshot 2024-02-13 at 10 07 38 
AM](https://github.com/apache/cloudstack/assets/1401014/3159b746-e8d4-48f7-97ba-4f6acfabd2cf)
   
   
   
   2. Launch a vm based on servcice offering 
   
   3. Check the root disk size using "qemu-img" command 
   
   
   
   [root@ol8 agent]# qemu-img info 
/localstorage/11b9756f-29cf-47ba-a57a-2e764714ccb6
   image: /localstorage/11b9756f-29cf-47ba-a57a-2e764714ccb6
   file format: qcow2
   virtual size: 8 GiB (8589934592 bytes)
   disk size: 8 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-12 12:28:07,876 DEBUG [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:e009fed7) Executing: qemu-img create -f 
qcow2 /localstorage/11b9756f-29cf-47ba-a57a-2e764714ccb6 8589934592
   
   2024-02-12 12:28:07,878 DEBUG [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:e009fed7) Executing while with timeout : 
3600000
   2024-02-12 12:28:07,893 DEBUG [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:e009fed7) Execution is successful.
   
   2024-02-12 12:28:07,893 DEBUG [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:e009fed7) Formatting 
'/localstorage/11b9756f-29cf-47ba-a57a-2e764714ccb6', fmt=qcow2 
cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 
lazy_refcounts=off refcount_bits=16
   
   2024-02-12 12:28:07,902 DEBUG [utils.script.Script] 
(agentRequest-Handler-3:null) (logid:e009fed7) Executing: qemu-img convert -O 
qcow2 -o preallocation=full -U --image-opts 
driver=qcow2,file.filename=/localstorage/36397421-b771-4562-827e-6019cec9b101 
/localstorage/11b9756f-29cf-47ba-a57a-2e764714ccb6
   ```
   


-- 
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]

Reply via email to