Share via

Space on VM

Justine Yamane 0 Reputation points
2026-06-16T20:48:46.5633333+00:00

How do I see how much storage I have used in the virtual machine?

Azure Disk Storage
Azure Disk Storage

A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.


2 answers

Sort by: Most helpful
  1. Jose Benjamin Solis Nolasco 8,401 Reputation points Volunteer Moderator
    2026-06-16T21:32:48.8966667+00:00

    Welcome to Microsoft Q&A

    Hello @Justine Yamane I hope you are doing well,

    Method 1: Operating System Level (Direct)

    The fastest and most accurate way to check disk space is to log directly into the Virtual Machine, as the guest OS manages the file system natively.

    For Windows VMs: Connect via RDP or Bastion. Open File Explorer and click on This PC to view the capacity and used space of your C:\ drive and any attached data disks.

    For Linux VMs: Connect via SSH or Bastion. Execute the command df -h in the terminal to view human-readable disk space usage across all mounted file systems.

    Method 2: Azure Monitor & VM Insights (At Scale)

    If you want to view disk space from the Azure Portal without logging into the VM, you must enable Guest-level monitoring.

    Navigate to your Virtual Machine in the Azure Portal.

    Scroll down the left menu to the Monitoring section and select Insights.

    If not already configured, click Enable to install the Azure Monitor Agent (AMA).

    Once data is flowing, click the Performance tab within VM Insights.

    1. In the metric dropdown, select Logical Disk Space Used %. This will display the exact volume utilization from the perspective of the guest OS.

    😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!

    Was this answer helpful?


  2. AI answer

    2026-06-16T20:48:53.5333333+00:00

    On a Windows virtual machine, storage usage can be checked from within the guest OS just like on a physical PC:

    1. Right-click Start and select Settings.
    2. Go to System > Storage.
    3. View Storage to see how much space is used and free on the OS disk.
    4. If there are multiple disks, select Advanced storage settings > Storage used on other drives to see usage per drive.

    For more detailed system information, use the tools described in System configuration tools in Windows from the same article.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.