Details:
VM disk at local, not local -lvm (I have delete it)
Enable host and vm qemu guest agent
Virtio SCSI QCOW2
Discard = on
Problems:
When I delete files in VM, the PVE host capacity don't release, it only become larger, google said if discard = on,and enable qemu guest agent, the disk format is qcow2, we can use
I want auto release corresponding capacity when I delete files in VM, how to achieve this?
Purpose:
I don't like thin provisioning, and I am a beginner, I don't find any options to set thick provision, it always use thin provision by default. I want the virtual disk capacity is completely assignment when VM created.
VM disk at local, not local -lvm (I have delete it)
Enable host and vm qemu guest agent
Virtio SCSI QCOW2
Discard = on
Problems:
When I delete files in VM, the PVE host capacity don't release, it only become larger, google said if discard = on,and enable qemu guest agent, the disk format is qcow2, we can use
fstrim -av
to recycle the disk capacity, but it dosen't work. Does it need lvm-thin?I want auto release corresponding capacity when I delete files in VM, how to achieve this?
Purpose:
I don't like thin provisioning, and I am a beginner, I don't find any options to set thick provision, it always use thin provision by default. I want the virtual disk capacity is completely assignment when VM created.
Last edited: