<?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 Windows LUN space reclamation - space-allocation - not freeing blocks in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439953#M41496</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment is:&lt;/P&gt;&lt;P&gt;Windows Server 2016, ONTAP 9.5, LUN is thin, NTFS formatted, space-allocation WAS NOT enabled&lt;/P&gt;&lt;P&gt;On the host side LUN is 70% occupied, on the storage side, it is 100% full. On Windows,&amp;nbsp;&lt;SPAN&gt;DisableDeleteNotify = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading several KBs, I am still in doubt. Some say you cannot enable space-allocation with the LUN online, some say you need to reboot the server after enabling it, some say you can enable space-allocation and just run a rescan on the host side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fact is that after enabling it with the LUN online and running a rescan, blocks are still provisioned on the storage side. I tried to create a new file inside the LUN and then delete it (there's a KB stating that this could trigger the UNMAP process).&amp;nbsp; No luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the correct procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:55:33 GMT</pubDate>
    <dc:creator>pedro_rocha</dc:creator>
    <dc:date>2025-06-04T09:55:33Z</dc:date>
    <item>
      <title>Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439953#M41496</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment is:&lt;/P&gt;&lt;P&gt;Windows Server 2016, ONTAP 9.5, LUN is thin, NTFS formatted, space-allocation WAS NOT enabled&lt;/P&gt;&lt;P&gt;On the host side LUN is 70% occupied, on the storage side, it is 100% full. On Windows,&amp;nbsp;&lt;SPAN&gt;DisableDeleteNotify = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading several KBs, I am still in doubt. Some say you cannot enable space-allocation with the LUN online, some say you need to reboot the server after enabling it, some say you can enable space-allocation and just run a rescan on the host side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fact is that after enabling it with the LUN online and running a rescan, blocks are still provisioned on the storage side. I tried to create a new file inside the LUN and then delete it (there's a KB stating that this could trigger the UNMAP process).&amp;nbsp; No luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the correct procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:55:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439953#M41496</guid>
      <dc:creator>pedro_rocha</dc:creator>
      <dc:date>2025-06-04T09:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439954#M41497</link>
      <description>&lt;P&gt;Please check this: (You might be hitting this bug, as you mentioned 9.5)&lt;BR /&gt;&lt;A href="https://mysupport.netapp.com/site/bugs-online/product/ONTAP/BURT/1227997" target="_blank"&gt;https://mysupport.netapp.com/site/bugs-online/product/ONTAP/BURT/1227997&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Space_is_not_freed_in_ONTAP" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Space_is_not_freed_in_ONTAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This bug is reported to be introduced in ONTAP &lt;STRONG&gt;9.5&lt;/STRONG&gt;. This bug is resolved in ONTAP 9.5P3+ and 9.6+&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:29:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439954#M41497</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-11-18T13:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439955#M41498</link>
      <description>&lt;P&gt;Hi, I don't think it is this bug. I forgot to mention we are running 9.5P5 (which has that fixed).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:42:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439955#M41498</guid>
      <dc:creator>pedro_rocha</dc:creator>
      <dc:date>2022-11-18T13:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439957#M41499</link>
      <description>&lt;P&gt;Just going by the official NetApp documentation (Not kbs), it does clearly state: You &lt;STRONG&gt;must&lt;/STRONG&gt; take the &lt;STRONG&gt;LUN offline&lt;/STRONG&gt; to enable space allocation. I think if you just follow the 5 steps in the doc below, it should work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Enable space allocation for SCSI thinly provisioned LUNs:&lt;BR /&gt;&lt;A href="https://docs.netapp.com/us-en/ontap/san-admin/enable-space-allocation-scsi-thin-provisioned-luns-task.html" target="_blank"&gt;https://docs.netapp.com/us-en/ontap/san-admin/enable-space-allocation-scsi-thin-provisioned-luns-task.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:49:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439957#M41499</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-11-18T14:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439958#M41500</link>
      <description>&lt;P&gt;Yes... I saw that and you are probably correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But than I saw thus:&amp;nbsp;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Storage_auto-reclamation_does_not_occur" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Storage_auto-reclamation_does_not_occur&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"It is recommended to take the LUN offline to enable space allocation but for modern Host OS this is not strictly necessary if a rescan of the SCSI device updates as thin provisioned."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'll try taking the LUN offline...&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:57:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439958#M41500</guid>
      <dc:creator>pedro_rocha</dc:creator>
      <dc:date>2022-11-18T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439959#M41501</link>
      <description>&lt;P&gt;Yes, go ahead.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I read that line - Modern OS, it is confusing, and I wonder which OS , further even if the Host is re-sending the scsi_inquiry (as part of the scsi_bus_scan) it is still picking up "old" data from the storage. Therefore,&amp;nbsp; LUN must be taken offline so that the "SCSI inquiry" data on both nodes in the HA pair is updated.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 15:42:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439959#M41501</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-11-18T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439998#M41512</link>
      <description>&lt;P&gt;We have done all... offline/online the LUN, rebooted the server. No changes...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a opened case, we'll see what support says&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 13:14:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/439998#M41512</guid>
      <dc:creator>pedro_rocha</dc:creator>
      <dc:date>2022-11-22T13:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Windows LUN space reclamation - space-allocation - not freeing blocks</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/440008#M41514</link>
      <description>&lt;P&gt;Sure, do let us know how it turns out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, could you share screenshot/output of the storage side space consumption and on the NTFS side.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 18:14:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Windows-LUN-space-reclamation-space-allocation-not-freeing-blocks/m-p/440008#M41514</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-11-22T18:14:12Z</dc:date>
    </item>
  </channel>
</rss>

