An Azure service that provides enterprise-grade file shares powered by NetApp.
Hello @Shivprasad Pawar, Vodafone,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand you have a question about deleting data from an Azure NetApp Files (ANF) volume that is currently 95% full and has snapshot functionality enabled.
When you delete a large amount of data from an ANF volume with snapshots enabled, the storage space is not released right away. This happens because snapshots use pointers that still refer to the deleted data blocks, keeping those blocks in use until every snapshot referencing them has been removed.
After deleting data, storage usage might not immediately decrease because snapshots need to be deleted, and space reclamation must be completed first. Deleting data generally has a minimal effect on performance. However, since your volume is already at 95% capacity, it’s important to keep an eye on it to prevent any capacity-related problems. Sometimes, it may be necessary to temporarily increase the volume size before performing large deletions to provide enough space for metadata and snapshot operations.
Key Suggestions for Improving Your Environment:
1. Review and update snapshot retention policies. Deleting older snapshots will free up space, but keep in mind that once deleted, snapshots cannot be restored.
https://learn.microsoft.com/en-us/azure/azure-netapp-files/snapshots-manage-policy
2. Track the volume usage metrics, including both capacity and inode usage, before, during, and after the deletion process.
3. Do not delete snapshots that are being used in ongoing restore or clone processes. Also, keep in mind that the latest backup snapshot can only be deleted when certain conditions are met.
https://learn.microsoft.com/en-us/azure/azure-netapp-files/snapshots-delete
https://learn.microsoft.com/en-us/azure/azure-netapp-files/backup-delete
Proactively managing snapshots and keeping track of utilization allows you to safely perform large deletions on your ANF volume.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.