Virtualization · Virtual Storage
Datastores
Cheat sheet · https://pcornel.dk/topic.php?topic=3509
Answer
A Datastore is a hypervisor-facing storage namespace or allocation container used to hold VM files, disks, metadata or related objects on top of one or more storage resources.
Remember
- Datastore is a management abstraction, not a universal storage protocol.
- Datastore online does not prove its underlying paths or media are fully healthy.
- Datastore free space is separate from guest filesystem free space.
- Different platforms implement datastore semantics differently.
First checks
esxcli storage filesystem list— ESXi datastores and free spaceGet-Datastore | ft Name,FreeSpaceGB,CapacityGB— PowerCLIpvesm status— Proxmox equivalent
Verify in this order
LUN/NFS → datastore → VM files
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
Virtual Storage → Datastores reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| VM | files/disks | Consumer |
| Datastore | namespace/capacity | Hypervisor abstraction |
| Backing | filesystem/block/share | Implementation |
| Backend | storage system | Physical/service layer |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3509