Forum Discussion
Problem with Azure Storage Account (Used Capacity) Metrics
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.
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
- Metrics "Used Capacity" does not match up to
- Size of non-VHDs
- Size of any singular page blobs
- Size of some odd combination of page blobs
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"
- hspintoFeb 04, 2020
Microsoft
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.
- YuukanFeb 05, 2020Copper ContributorI can confirm that the “Used Capacity” is not in line with the real capacity used within the VMs.
Some examples I’ve checked were for some DB and File servers where the Reported used capacity was only a few hundred (200-300) GiB but confirmed that actual data stored within multiple VHDs equates too 1 1/2 TiB