[ovirt-users] Re: Discard after Delete

2020-11-01 Thread Joris DEDIEU
Le dim. 1 nov. 2020 à 08:31, Strahil Nikolov  a
écrit :

> Where is that option ?
>

In Storage / Domain / New / ISCSI / Advanced Options

Joris


>
> Best Regards,
> Strahil Nikolov
>
>
>
>
>
> В неделя, 1 ноември 2020 г., 08:56:44 Гринуич+2, Joris DEDIEU <
> joris.ded...@nfrance.com> написа:
>
>
>
>
>
> 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.
>
> 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 -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> 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/users@ovirt.org/message/LNTZMV2VFQGCZF5GHNGEZ63JFOSOPKPH/
>


-- 
Joris Dedieu
Responsable Technique
Tél. : +33 6 75 80 25 88
  9 rue Ritay 31000 Toulouse - France | www.nfrance.com
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/YY7GJ34LPFJUXZOHDVNJVWKDP4Z7C7FB/


[ovirt-users] Re: Discard after Delete

2020-11-01 Thread joris . dedieu
> Where is that option ?

Storage / Domain / New / Iscsi 

Joris 

> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> В неделя, 1 ноември 2020 г., 08:56:44 Гринуич+2, Joris DEDIEU
>  
> 
> 
> 
> 
> 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.
> 
> 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 -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> 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/users@ovirt.org/message/LNTZMV2VFQG...
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/EAVJICJS62AJTEMGPINGQQVHWQ53EZZW/


[ovirt-users] Re: Discard after Delete

2020-11-01 Thread Nir Soffer
On Sun, Nov 1, 2020, 08:56 Joris DEDIEU  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 -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> 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/users@ovirt.org/message/LNTZMV2VFQGCZF5GHNGEZ63JFOSOPKPH/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/IHGCQ57KOSKBGQY5GWNQQGXYMKNWTCU5/


[ovirt-users] Re: Discard after Delete

2020-11-01 Thread Strahil Nikolov via Users
Where is that option ?

Best Regards,
Strahil Nikolov





В неделя, 1 ноември 2020 г., 08:56:44 Гринуич+2, Joris DEDIEU 
 написа: 





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.

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 -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/LNTZMV2VFQGCZF5GHNGEZ63JFOSOPKPH/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/KUXWYCYSVWZFNHCY4UAM2LVA3HYPTCW7/


[ovirt-users] Re: Discard After Delete: Why not the default?

2017-09-10 Thread Idan Shaby
Hi,

I agree with Yaniv. That's why when Discard After Delete was introduced in
oVirt 4.1, it was false by default.
However, since we realized that the demand for it to be true by default is
high, we changed it in oVirt 4.2 [1] so that it will be true by default.

If you got any further questions, please don't hesitate to ask.

Regards,
Idan

[1] *Bug 1456414*  - New
domain should default to true on Discard After Delete

On Sun, Sep 10, 2017 at 2:50 PM, Yaniv Kaul  wrote:

>
>
> On Sun, Sep 10, 2017 at 1:55 PM, Troels Arvin  wrote:
>
>> Hello,
>>
>> In the settings for a storage domain, in "Advanced Options", there is an
>> option "Discard After Delete". The default is that the checkbox is not
>> set.
>>
>> The documentation at
>> https://www.ovirt.org/develop/release-management/features/st
>> orage/discard-
>> after-delete/
>> 
>> and
>> https://www.ovirt.org/develop/release-management/features/storage/pass-
>> discard-from-guest-to-underlying-storage/
>> 
>> does not mention why the option is not the default. What drawback does
>> the "Dicard After Delete" feature have, since it's not the default?
>>
>
> Simply because in many cases it's not really needed. The whole purpose of
> discarding is to allow the underlying storage to reclaim unused space. But
> usually there's no need for it - you've deleted a disk, but you'd like to
> use this space for a different disk - there's no need to give it back to
> the storage (imagine file deletion in file system).
> It only makes sense when the underlying storage is thin provisioned and
> you need the space.
> Y.
>
>
>>
>> --
>> Regards,
>> Troels Arvin
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org