How can I check the available space of a disk attached to VM?

Vincent Li 51 Reputation points
2022-08-11T02:36:49.487+00:00

I have two resources, a VM and a VMSS Instance. I'd like to check how much disk space I've used. Please help.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,825 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
575 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Simon 11 Reputation points
    2022-11-17T12:48:23.8+00:00

    Hi @Vincent Li ,
    memory is not your disk, it's your RAM.

    I'm also looking for a possibility to see the VM's disk usage. I'm wondering why such an important information is not shown in Metrics.

    2 people found this answer helpful.

  2. David Broggy 5,681 Reputation points MVP
    2022-08-11T03:35:17.747+00:00

    Hi VincentLi,
    From my experience the best way to monitor all resources is to enable logging to Azure Monitor.
    Once you’ve enabled logging all the health stats you can ever want will be available via kql queries.
    Good luck!

    Reference:
    help-to-set-up-azure-alert-for-disk-space-alert-wh.html


  3. Manu Philip 16,986 Reputation points MVP
    2022-08-11T03:43:12.087+00:00

    In VM Diagnostics settings, if you enable guest monitoring, you can find the disk space consumption details easilty.
    More details are available here: azure-vm-extended-metrics

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--