02-03-2020 06:41 AM
02-03-2020 06:41 AM
I have a bit of an odd issue in that when looking at the used Capacity metrics on my storage account it shows a wildly different amount from what is actually in use.
We have had a storage account throttled as the capacity went over the maximum capacity of a storage account which we missed due to the Metric being incorrect.
This is storage account hosts multiple unmanaged VHDs configured as Premium SSD disk.
Is there a known issue or a suggested way to work around this ?
Where could I pull an accurate metric for the actual used amount of storage on the storage account?
Am I just missing something here, is there another Metric I should be looking at that might not be available via the GUI ?
02-03-2020 09:39 PM
@Yuukan, can you clarify what you mean by "throttling" and was the real capacity usage value vs. the value observed in metrics? 400 GiB of usage in a Storage Account is almost nothing compared to the Storage Account limits (in the order of TiB or even PiB). See scalability targets documentation.
By the way, if your VMs are production ones, it is a bad idea to have multiple VMs sharing the same storage account - single point of failure.
02-04-2020 03:33 AM
@hspinto I have this problem with all the storage accounts on my tenant (~15). I normally split the load of the VMs are per best practice.
Throttling can be seen by looking under "Resource Health" for your specific storage accounts and reviewing the Health History's "Health Events".
In terms of difference of "real capacity usage value vs. the value observed in metrics" it looks something like this (Please view below table)
|Storage Account Name||Metric "Used Capacity"||Real Used Capacity|
|StrgAcc1||41 MiB||7000 GiB|
|StrgAcc2||150 GiB||300 GiB|
|StrgAcc3||1 GiB||4000 GiB|
Some things I've already considered
The "Used Capacity" does not seem to have any bearing on reality.
In the case of say StrgAcc3 there are 8 page blobs and all are VHDs (Un-managed disks) and no one VHD matches the size of the "Used Metric"
02-04-2020 03:32 PM
@Yuukan, bear in mind that despite having a 127 GB unmanaged disk attached to a VM, if that disk is consuming only 15 GB of space, Azure Storage metrics will only report 15 GB of used capacity for that disk. Can you check if that's the case?
You said that you have balanced your VMs across multiple storage accounts. That's fine, but if you move to Managed Disks, then you won't have to worry about disk placement anymore.
02-04-2020 09:59 PM
02-04-2020 10:57 PM
Dear @Yuukan, after what you described, I advise you to open a support ticket to get a better clarification. I don't see a good explanation for that metrics behaviour. I am sorry for not having been able to provide you with a solution.