Snapshots
Cheat sheet · https://pcornel.dk/topic.php?topic=3786
Answer
Treat a snapshot as a delta-chain state transition tied to the base virtual disk and datastore; creation, growth, consolidation and revert all affect the live storage chain.
Remember
- Snapshot ≠ backup.
- Snapshot created ≠ application-consistent unless the exact quiescing path succeeded and is appropriate.
- Snapshot deleted in UI ≠ consolidation completed instantly.
- Long/deep snapshot chains can increase capacity and performance risk.
First checks
Get-VM | Get-Snapshot | ft VM,Name,Created,SizeGB— all snapshotsGet-VM | ? {$_.ExtensionData.Runtime.ConsolidationNeeded}— consolidation neededRemove-Snapshot -Snapshot <s> -Confirm:$false— delete
Verify in this order
VMDK → delta chain → consolidate
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 → Snapshots reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Inventory/config | Expected VMware vSphere → Snapshots 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=3786