Pcornel
Storage · Storage Fundamentals

Datastore

Cheat sheet · https://pcornel.dk/topic.php?topic=3850

Back to the Topic

Answer

A datastore is the storage container a hypervisor uses for VM files: configuration, virtual disks and snapshots. It can be backed by local disks, a SAN LUN, an NFS share or distributed storage such as vSAN.

Remember

  • Datastore is a virtualization-facing abstraction, not a universal storage protocol.
  • Datastore accessibility from a host does not prove every VM file or backing path is healthy.
  • Guest free space is separate from virtual-disk free space and datastore/pool free space.
  • A datastore can be shared while still depending on a non-redundant backend or network path.

First checks

  • esxcli storage filesystem list — ESXi datastores
  • pvesm status — Proxmox storages
  • Get-ClusterSharedVolume — Hyper-V CSVs

Verify in this order

VM disks → datastore → backing storage

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Storage Fundamentals → Datastore reference map

BoundaryWhat it meansEvidence limit
Consumer viewWhat the workload/OS believes is availableDoes not prove lower-layer allocation, path or media health
Logical storageVolume/LUN/share/pool/datastore or object namespace presented to the consumerObject existence does not prove backing capacity or correct ownership
Transport/backingProtocol, path, controller, storage service and protection that carry/persist I/OPath/control-plane health does not prove application data
AcceptanceOriginal data can be written, committed and read back correctly by the intended workloadRequired 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=3850

Confirmation

Confirm action

Continue?