On Mon, Jul 12, 2021 at 12:27 AM Ranesh Tharanga Perera
<[email protected]> wrote:
>
> We have enabled both options  discard-after delete and wipe after delete but 
> nothing is working , I have tried to creating small disk ( like 1 GB ). after 
> deleting that disk space has reclaimed succsuuufully.
> Seems this happens for  larger size disk

If it worked for 1g disk, it should work for a bigger disk.

If you can reproduce this again, please file a ovirt/vdsm bug and attach
vdsm logs and /var/log/messages (or output of journalcltl).

BTW, do you have a real need for wipe-after-delete? This can make
deletion much slower, since it may need to allocate the entire disk on
the server side for writing zeroes just to deallocate all space right
after that when we discard the disk.

This option is needed only if you want to ensure that sensitive data
cannot leak to another disk on the same storage, maybe used by
another tenant.

> On Mon, Jul 12, 2021 at 1:10 AM Nir Soffer <[email protected]> wrote:
>>
>> On Sun, Jul 11, 2021 at 5:03 PM Ranesh Tharanga Perera
>> <[email protected]> wrote:
>> >
>> > I have attached  7TB disk ( pre allocated)  for VM ( Redhat 8 ).. Due to 
>> > some space issue we have unattached disk from VM and deleted it.
>>
>> Did you enable the "discard after delete" option in the storage domain
>> advanced options?
>>
>> If  you did not, the logical volume is deleted, but the blocks allocated on 
>> the
>> server side from this logical volume are not discarded.
>>
>> Since you deleted the logical volume, it is not possible to discard it
>> now, but you
>> do this:
>>
>> Try this:
>> - Put the storage domain to maintenance
>> - Enable "discard-after delete"
>> - Active the storage domain
>> - Create new raw preallocated disk filling the entire domain
>> - Delete the disk
>>
>> Nir
_______________________________________________
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/SS6UN23JBG55N4VTZ7YECJPQEORNUL3V/

Reply via email to