The progress bar of the "virt-clone --nonsparse" command shows the progress rate exceeding 100%

Solution Unverified - Updated -


When trying to clone a guest by virt-clone command with --nonsparse option, the progress bar shows the progress rate exceeding 100%.

+ script -a -c 'virt-clone --file /tmp/test-clone.qcow2 --original vm1 --name vm2 --nonsparse'
Script started, file is typescript
Script started on 2020-09-04 17:22:39+09:00
^MAllocating 'test-clone.qcow2'                                                                          150% [=============================================================================================]    0 B/s | 6.0 GB  --:--:-- ETA ^MAllocating 'test-clone.qcow2'                                                                                                                                                                                        | 4.0 GB  00:00:01 

Clone 'vm2' created successfully.

Script done on 2020-09-04 17:22:41+09:00

It seems that the progress rate shows the sparseness of the new clone image, and the value may exceed 1 (it depends on the guest image).
(Therefore, the disk size of the image is larger than virtual size.)


  • Red Hat Enterprise Linux 8.3
  • Red Hat Enterprise Linux 8.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In