A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
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.
- 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!