Enable fstrim automatically on cinder thin lvm provisioning

A Monster amonster369 at gmail.com
Tue Jan 17 03:22:39 UTC 2023


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,

how can I enable this automatically in openstack?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230117/87e7d927/attachment-0001.htm>


More information about the openstack-discuss mailing list