Skip to main content
NetApp Knowledge Base

Why doesn't the used space decrease by the same amount on ONTAP after deleting data?

Views:
190
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • WAFL (Write Anywhere File Layout) file system
  • Snapshot functionality
  • Data deduplication and compression

Answer

When data is deleted from a Windows system, the expected decrease in storage size may not be immediately reflected in ONTAP due to several factors:
  • Snapshot Existence:
In ONTAP, if the Snapshot feature is enabled, deleted files are retained within the Snapshots.
This means that even though files are deleted from the Windows side, they are logically deleted but physically retained in Snapshots on the NetApp system.
  • WAFL File System Characteristics:
The WAFL file system used by ONTAP does not immediately release metadata or blocks associated with deleted files.
This delayed release can cause a discrepancy in the reported storage capacity.
  • Impact of Deduplication and Compression:
The storage capacity reported by ONTAP includes the effects of deduplication and compression.
As a result, the size of deleted data on Windows may differ from the size reported on ONTAP due to these storage efficiency processes.
  • Reflection Timing After Large Data Deletion:
When large volumes of data are deleted, ONTAP may take time to process and reflect these changes due to the data consistency operations.
This delay can result in a temporary mismatch between the expected and reported storage usage.
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.