How can I reclaim space in Windows with a thin LUN?


Last modified date: 2023-03-06

Applicable Products

All NAS series


Detail

By default, Windows Server 2012 and later automatically reclaims storage after deleting files from your iSCSI LUN. If your space in the NAS is not reclaimed, you can use the following process:

Note
Windows 2008 and earlier doesn't have native in-band UNMAP support. You can use third-party applications such as SnapDrive for Windows or the Data ONTAP PowerShell Toolkit to perform space reclamation operations.
  1. Disable the DisableDeleteNotification setting.
    Note
    This setting is disabled by default.
    1. Open Powershell.
    2. Run the following command.
      Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name DisableDeleteNotification –Value 0
  2. Right-click on the iSCSI mapped disk and select Properties.
    The disk properties window opens.
  3. Go to the Tools tab and click Optimize.The Optimize Drives window opens.
  4. Select the disk drive and click Optimize.

Windows Server begins optimizing the storage drive. When the process finishes, the LUN storage space is reclaimed on your NAS.

Was this article helpful?

75% of people think it helps.
Thank you for your feedback.

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Chọn thông số kỹ thuật

      Xem thêm Thu gọn

      Choose Your Country or Region

      open menu
      back to top