<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I enable trim(unmap / reclaim) when using the nfs cinder backend? in OpenStack Discussions</title>
    <link>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160401#M421</link>
    <description>&lt;P&gt;A Cinder volume corresponds to a file within the NFS share provided by a FlexVol.&lt;/P&gt;
&lt;P&gt;The space is consumed when you write actual data in the Cinder volume.&lt;/P&gt;
&lt;P&gt;ONTAP is not able to read the filesystem within the Cinder volume to tell if a block is in use or not, so removing a file inside the Cinder volume won't free space.&lt;/P&gt;
&lt;P&gt;Only when you delete the Cinder volume, the corresponding file within the NFS share will be deleted, and the space will be reclaimed.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How do I enable trim(unmap / reclaim) when using the nfs cinder backend?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:48:40 GMT</pubDate>
    <dc:creator>redheo</dc:creator>
    <dc:date>2025-06-04T10:48:40Z</dc:date>
    <item>
      <title>How do I enable trim(unmap / reclaim) when using the nfs cinder backend?</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160401#M421</link>
      <description>&lt;P&gt;A Cinder volume corresponds to a file within the NFS share provided by a FlexVol.&lt;/P&gt;
&lt;P&gt;The space is consumed when you write actual data in the Cinder volume.&lt;/P&gt;
&lt;P&gt;ONTAP is not able to read the filesystem within the Cinder volume to tell if a block is in use or not, so removing a file inside the Cinder volume won't free space.&lt;/P&gt;
&lt;P&gt;Only when you delete the Cinder volume, the corresponding file within the NFS share will be deleted, and the space will be reclaimed.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How do I enable trim(unmap / reclaim) when using the nfs cinder backend?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:48:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160401#M421</guid>
      <dc:creator>redheo</dc:creator>
      <dc:date>2025-06-04T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable trim(unmap / reclaim) when using the nfs cinder backend?</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160580#M422</link>
      <description>&lt;P&gt;From your explanation, it is not very clear to me if you are having a SAN(iscsi/FC) configuration or a NAS(nfs) configue.&lt;BR /&gt;However, if you are talking about ONTAP not able to read the file system within the Cinder volume then i assume this should be a SAN volume &lt;BR /&gt;and a LUN was provisioned from the NetApp storage.&lt;/P&gt;
&lt;P&gt;To enable and ensure that you have trim(unmap/reclaim) working, you will need to check ensure that the lun has space_allocation feature enabled on that LUN from the storage end.&lt;/P&gt;
&lt;P&gt;- Take the lun offline&lt;/P&gt;
&lt;P&gt;- Enable space allocation&lt;BR /&gt;lun modify -vserver vserver_name -volume volume_name -lun lun_name - space-allocation enabled&lt;/P&gt;
&lt;P&gt;- Bring back lun online.&lt;/P&gt;
&lt;P&gt;- Rescan from the host side&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 19:23:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160580#M422</guid>
      <dc:creator>AlainTansi</dc:creator>
      <dc:date>2020-10-22T19:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable trim(unmap / reclaim) when using the nfs cinder backend?</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160590#M423</link>
      <description>&lt;P&gt;I said in the first question.&lt;BR /&gt;says "when using nfs cinder backend"&lt;BR /&gt;And this is the first sentence of the question.&lt;BR /&gt;"A Cinder volume corresponds to a file within the NFS share provided by a FlexVol."&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 22:19:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/160590#M423</guid>
      <dc:creator>redheo</dc:creator>
      <dc:date>2020-10-22T22:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable trim(unmap / reclaim) when using the nfs cinder backend?</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/447601#M448</link>
      <description>&lt;P&gt;Did you find a solution for that?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 14:21:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/How-do-I-enable-trim-unmap-reclaim-when-using-the-nfs-cinder-backend/m-p/447601#M448</guid>
      <dc:creator>filerhero</dc:creator>
      <dc:date>2023-09-13T14:21:30Z</dc:date>
    </item>
  </channel>
</rss>

