ONTAP Discussions
ONTAP Discussions
Running NetApp AFF C250 with SSD drives as a backup target. Volume is connected to Windows 2022 server via iSCSI.
NetApp Release 9.14.1P1
I have deleted around 10TB from that volume, using Windows Explorer.
System Manager and CLI still show that volume has 8TB of data and dedup+compression metadata.
When it will be deleted and how can I avoid it in the future?
Thanks a lot, in advance!
Solved! See The Solution
Note if you need to enable space allocation it may require the host to be rebooted to utilize. You can also offline/online the lun and have the host rescan but generally easier to reboot
Standard questions:
are you using snapshots? If so, space is not really recovered until snapshots are deleted or expire to free up blocks
is space-allocation enabled? Without it, the host (windows) cannot trim/cleanup unused space
Note if you need to enable space allocation it may require the host to be rebooted to utilize. You can also offline/online the lun and have the host rescan but generally easier to reboot
Thanks TMACMD, I found it but needed a confirmation from human 🙂
Is this command OK?
lun modify -vserver name -volume name -lun name -space-allocation enabled
and I will reboot server after.
Thanks again
I do not use snapshots.
I have enabled space allocation, restarted host and offline/online the LUN. No effect.
Efficiency Policy Name: auto
Blocks Skipped Sharing: 0
Last Operation State: Success
Last Success Operation Begin: Fri May 31 22:53:20 2024
Last Success Operation End: Sat Jun 01 01:24:19 2024
Last Operation Begin: Fri May 31 22:53:20 2024
Last Operation End: Sat Jun 01 01:24:19 2024
Last Operation Size: 957.2GB
Last Operation Error: -
Changelog Usage: 0%
Logical Data Size: 8.90TB
Logical Data Limit: 1.25PB
Logical Data Percent: 1%
Queued Job: -
Stale Fingerprint Percentage: 0
Compression: true
Inline Compression: true
Compression Type: adaptive
Storage Efficiency Mode: efficient
Constituent Volume: false
Inline Dedupe: true
Data Compaction: true
Cross Volume Inline Deduplication: true
Cross Volume Background Deduplication: true
Extended Compressed Data: true
Volume Has Extended Auto Adaptive Compression: true
Volume Has Active Data Extended Auto Adaptive Compression: true
Do I have to do space allocation for LUN's connected to ESXi Hosts?
Thanks a lot, TMACMD!
Everything is OK now. ONTAP creates new volumes for ESXi with space allocation enabled, by default, and without, for the rest of OS'es.
I had to run Optimize-Volume -DriveLetter E -ReTrim - to expedite trimming process.
Now I have a clean volume.