Hi Oliver,

If you change your array's LUNs' to pre-allocated, this will probably disable their discard support.
Therefore, after you switch the relevant domains to maintenance, you will indeed need to disable their Discard After Delete flag.
Also, you will need to disable the Enable Discard flag for all of the disks that reside on the relevant storage domains before you activate those domains.
If you forget to disable one of these two options, you will get a warning on the engine's log telling you that the LUNs' new properties were updated in the DB but they caused the storage domain <sd_name>  to stop supporting the specific discard property that you forgot to take care of.

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


Regards,
Idan

On Thu, Jun 14, 2018 at 4:32 PM, Benny Zlotnik <bzlotnik@redhat.com> wrote:
Adding Idan

On Wed, Jun 13, 2018 at 6:57 PM, Bruckner, Simone <simone.bruckner@fabasoft.com> wrote:

Hi,

 

  I have defined thin LUNs on the array and presented them to the oVirt hosts. I will change the LUN from thin to preallocated on the array (which is transparent to the oVirt host).

 

Besides removing “discard after delete” from the storage domain flags, is there anything else I need to take care of on the oVirt side?

 

All the best,

Oliver

 

Von: Benny Zlotnik <bzlotnik@redhat.com>
Gesendet: Mittwoch, 13. Juni 2018 17:32
An: Albl, Oliver <Oliver.Albl@fabasoft.com>
Cc: users@ovirt.org
Betreff: [ovirt-users] Re: Moving from thin to preallocated storage domains

 

Hi,

 

What do you mean by converting the LUN from thin to preallocated? 

oVirt creates LVs on top of the LUNs you provide

 

On Wed, Jun 13, 2018 at 2:05 PM, Albl, Oliver <Oliver.Albl@fabasoft.com> wrote:

Hi all,

 

  I have to move some FC storage domains from thin to preallocated. I would set the storage domain to maintenance, convert the LUN from thin to preallocated on the array, remove “Discard After Delete” from the advanced settings of the storage domain and active it again. Is there anything else I need to take care of?

 

All the best,

Oliver

 


_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VUEQY5DHUC633US5HZQO3N2IQ2TVCZPX/