It works (as expected):

before:
4     0   17337     263  20   0 163108  4240 -      Sl   ?          0:47  \_ 
/usr/bin/qemu-img create -f qcow2 -o 
preallocation=falloc,compat=1.1,lazy_refcounts 
/var/lib/libvirt/images/ubuntu20.04.qcow2 26214400K

Now:
4     0   43901     263  20   0 163108  5436 -      Sl   ?          0:00  \_ 
/usr/bin/qemu-img create -f qcow2 -o 
preallocation=metadata,compat=1.1,lazy_refcounts 
/var/lib/libvirt/images/ubuntu20.04.qcow2 26214400K

Even without the change to libvirt it works (as that is a valid fix, but
for a different use case).

And it is going much faster is on e.g. the ZFS based setup that was
mentioned.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847105

Title:
  very slow disk creation, snapshotting

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/1847105/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to