[pve-devel] Qm move_disk bug (?)

Gilberto Nunes gilberto.nunes32 at gmail.com
Wed Sep 30 15:16:31 CEST 2020


Hi all

I tried to move a vm disk from LVM-thin to a Directory Storage but when I
did this, the qm move_disk just filled up the entire disk.
The disk inside LVM-thin has 100G in size but only about 5G is occupied by
the OS.
I have used the qcow2 format.
However, if I do it from CLI with the command:

qemu-img convert -O qcow2 /dev/pve/vm-100-disk-0
/DATA/images/100/vm-100-disk-0.qcow2

It works nicely and just copied what the OS occupied inside the VM, but
created a virtual disk with 100GB.

It's some kind of bug with qm move_disk???

Thanks a lot

---
Gilberto Nunes Ferreira



More information about the pve-devel mailing list