Virtualization · VMware vSphere
Datastore
Cheat sheet · https://pcornel.dk/topic.php?topic=3775
Answer
Separate datastore inventory/accessibility from backing storage health, protocol path, capacity, latency and the VM files consuming it.
Remember
- Datastore accessible ≠ performant.
- Datastore free space ≠ backend thin-pool/array free capacity.
- One host sees datastore ≠ all cluster hosts see it consistently.
- Datastore alarm ≠ identified root cause.
First checks
Get-Datastore | ft Name,Type,FreeSpaceGB,CapacityGB,State— datastoresesxcli storage filesystem list— per hostGet-Datastore <ds> | Get-VM— VMs on datastore
Verify in this order
VM files → datastore → backing storage
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
VMware vSphere → Datastore reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Inventory/config | Expected VMware vSphere → Datastore object, policy or configuration is present | Configured state does not prove effective runtime behavior |
| Runtime/control plane | Relevant vCenter/ESXi object, service or task state matches the intended condition | Management state does not prove storage/network/guest outcome |
| Dependency/data path | Required compute, storage, network, device and guest dependencies are healthy | Local success does not prove the next boundary |
| Acceptance | Original guest/application test succeeds after observation or change | Required for end-to-end closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3775