I followed the official guide in order to shrink a qcow2 file.
After the shrink if I move the file in the lvm-local-thin storage I get two different results:
if I move the disk when the VM is stopped then the data % is OK (the reduced one)
if I move the disk when the VM is running then the data % is 100 % (no shrink at all)
The Data% is the value obtained with the command:
Is there a way to shrink a VM file and move the file to the local-lvm-thin storage preserving the shrinkage and without shutdown the VM ?
thanks
Francesco
After the shrink if I move the file in the lvm-local-thin storage I get two different results:
if I move the disk when the VM is stopped then the data % is OK (the reduced one)
if I move the disk when the VM is running then the data % is 100 % (no shrink at all)
The Data% is the value obtained with the command:
Code:
lvs -a
Is there a way to shrink a VM file and move the file to the local-lvm-thin storage preserving the shrinkage and without shutdown the VM ?
thanks
Francesco
Last edited: