On Sun, Nov 1, 2020, 08:56 Joris DEDIEU <[email protected]> wrote:

> Hi list,
> I forgot to check "Discard after Delete" when creating a new volume. Is
> there a way (other than to empty the volume) to reclaim free blocks.
>

You can enable discard after delete by puting the storage domain to
maintenace and modifying the domain advanced options.

If the storage supports discard, and you did not select wipe after delete
storage domain option, and you use virtio-scsi interface, you can use
"fstrim" in the guest to free unused space.

Using fstrim does not reduce logical volume allocation size, only block in
the underlying storage.

Nir


> In https://bugzilla.redhat.com/show_bug.cgi?id=981626 I read about
> blkdiscard, but as far as I understand it will erase my VMs ...
>
> Thanks for your answers
> Joris
>
>
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/[email protected]/message/LNTZMV2VFQGCZF5GHNGEZ63JFOSOPKPH/
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/IHGCQ57KOSKBGQY5GWNQQGXYMKNWTCU5/

Reply via email to