<div dir="ltr">Hi,<div><br></div><div>We've a config option 'report_discard_supported'[1] which can be added to cinder.conf that will enable trim/unmap support.</div><div><br></div><div>Also I would like to suggest not creating new openstack-discuss threads for the same issue and reuse the first one created.</div><div>As I can see these are the 3 threads for the same issue[2][3][4].</div><div><br></div><div>[1] <a href="https://docs.openstack.org/cinder/latest/configuration/block-storage/config-options.html">https://docs.openstack.org/cinder/latest/configuration/block-storage/config-options.html</a></div><div>[2] <a href="https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031789.html">https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031789.html</a></div><div>[3] <a href="https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031797.html">https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031797.html</a></div><div>[4] <a href="https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031805.html">https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031805.html</a></div><div><br></div><div>Thanks</div><div>Rajat Dhasmana</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 17, 2023 at 8:57 AM A Monster <<a href="mailto:amonster369@gmail.com">amonster369@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I deployed openstack using kolla ansible, and used LVM as storage backend for my cinder service, however I noticed that the lvm thin pool size keeps increasing even though the space used by instances volumes is the same, and after a bit of investigating I found out that I had to enable fstrim because the data deleted inside the logical volumes was still allocated from the thin pool perspective and I had to do fstrim on those volumes,<div dir="auto"><br><div dir="auto"><div dir="auto">how can I enable this  automatically in openstack?</div></div></div></div>
</blockquote></div>