I have just one VM (ID 100) but directory images: has the following content:
I tried to remove 102/base-102-disk-0.qcow2 but I can't because it is in use by linked clones.
I need to clone a machine unfortunately my images directory has no space so I'd like to know if I can use
and if this execution will not affect the image base-102-disk-0.qcow2/100/vm-100-disk-0.qcow2 qcow2
Thanks
pvesm list images
Volid Format Type Size VMID
images:102/base-102-disk-0.qcow2 qcow2 images 53687091200 102
images:102/base-102-disk-0.qcow2/100/vm-100-disk-0.qcow2 qcow2 images 53687091200 100
images:iso/CentOS-8.2.2004-x86_64-minimal.iso iso iso 1718616064
I tried to remove 102/base-102-disk-0.qcow2 but I can't because it is in use by linked clones.
I need to clone a machine unfortunately my images directory has no space so I'd like to know if I can use
Code:
qemu-img resize --shrink base-102-disk-0.qcow2 -10G
Thanks