Use this when datastores fill up or thin disks and snapshots grow.
Storage Usage
Storage usage monitoring tracks datastore free space, provisioned versus used capacity, thin-disk growth and snapshot size, because a full datastore can pause or crash every VM on it.
1. Storage usage: datastores, pools, thin overcommit.
2. Snapshots and swap files consume space.
3. Alert at 80/90 %.
4. Thin pools need metadata watch.
5. Trend growth.
VM disks + snapshots → storage capacity
Context & applicabilityCommon mistakes · platform/version boundaries
- Ignoring thin-provisioned growth.
- Snapshots not monitored.
- Alerts only at 95 %, too late to react.
Operational reference
Fast context before you go deeper.
pvesm statusVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Alert thresholds Narrow the fault
| Level | Free space |
|---|---|
| Warning | 20 % |
| Critical | 10 % |
| Snapshot age | > 72 hours |
| Thin overcommit | > 150 % provisioned vs capacity |
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Full datastore stops VMs.
- Snapshots grow with every write.
- Provisioned > capacity is a risk.
pvesm status— storage usageGet-ClusterSharedVolume | % { $_.SharedVolumeInfo.Partition } | ft FreeSpace,Size— CSV freedf -h— filesystems
ReferenceWhy it matters1 section · depth on demand
What to watch
- Datastore free space: alert at about 20 % free, critical at 10 %.
- Thin-provisioned growth: provisioned space can exceed physical capacity.
- Snapshot size and age: old snapshots grow and slow I/O.
- Swap files and logs on the same datastore.
A full datastore pauses or crashes every VM with thin disks or snapshots on it.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Storage usage monitoring for virtual environments tracks three numbers per datastore: capacity, provisioned (sum of thin disk sizes) and used. Add snapshot space and VM swap files.
# PowerCLI
Get-Datastore | Select Name,CapacityGB,FreeSpaceGB,@{n='ProvisionedGB';e={[math]::Round(($_.ExtensionData.Summary.Capacity - $_.ExtensionData.Summary.FreeSpace + $_.ExtensionData.Summary.Uncommitted)/1GB)}}
pvesm status
Alert at 80 % used and on overcommit ratio, plus on snapshots older than a few days.
ReferenceConfiguration & state1 section · depth on demand
Commands
# vSphere (PowerCLI)
Get-Datastore | Select Name,@{n='FreePct';e={[math]::Round($_.FreeSpaceGB/$_.CapacityGB*100)}}
# Proxmox
pvesm status
# Hyper-V
Get-Volume | Select DriveLetter,SizeRemaining,Size
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Monitoring → Storage Usage. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%