seanluce / ANFHealthCheck

A PowerShell Runbook that will provide useful information about your Azure NetApp Files (ANF) resources. Schedule this to run every day for the most up-to-date info delivered straight to your inbox.
GNU General Public License v3.0
9 stars 3 forks source link

Remediation mode: Source capacity pool resize is done ahead of volume resize #6

Closed snigdhamovva closed 1 year ago

snigdhamovva commented 1 year ago

In scenario of using health check remediation mode for shrinking - the capacity pools are resized first and then volumes which is a problem as capacity pool will not shrink after volume size is reduced

seanluce commented 1 year ago

Thank you, Snigdha. I did have some time to investigate this issue and unfortunately there is not a good fix at this time. My recommendation is to run the script twice with a few hours in between each run. The first run will shrink the volumes. The second run will be able to see the new volume sizes and use those metrics to size the pools accordingly.