VMware vSAN Data Recovery
vSAN turns the local disks of an ESXi cluster into a shared datastore, which means there is no array to fall back on when the cluster itself is damaged. Cases usually arrive after hosts were rebuilt or removed too quickly, a disk group or storage pool failed, or virtual machines were deleted from a datastore with no backup.
Platform Lineage and Naming
VMware introduced vSAN (originally Virtual SAN) in vSphere 5.5 as a kernel-level distributed storage layer, and it became the storage foundation of VMware Cloud Foundation and VxRail-style hyperconverged systems.
vSAN 8 introduced the Express Storage Architecture (ESA) alongside the long-standing Original Storage Architecture (OSA). Both remain in production, and their on-disk formats and reconstruction paths differ materially — so a recovery starts by establishing which architecture the cluster ran and at which on-disk format version.
- VMware Virtual SAN (original product name)
- vSAN OSA — Original Storage Architecture (cache tier + capacity tier disk groups)
- vSAN ESA — Express Storage Architecture (single-tier NVMe storage pools, vSAN 8 and later)
- vSAN objects, components, witness components, RAID-1/5/6 storage policies (SPBM)
- vSAN stretched clusters, two-node clusters with an external witness appliance
- Deployed under OEM hyperconverged names such as Dell VxRail and VMware Cloud Foundation
Generations and Models We Evaluate
- vSAN OSA: Disk groups of one cache device plus up to seven capacity devices per group, hybrid (SSD cache + HDD capacity) or all-flash
- vSAN ESA: Single-tier NVMe storage pools introduced in vSAN 8, with per-object log-structured filesystem and RAID-5/6 efficiency at small cluster sizes
- Cluster topologies: Standard clusters, two-node clusters with witness, stretched clusters across sites, vSAN Max disaggregated clusters
- Common hardware: Dell PowerEdge / VxRail, HPE ProLiant, Lenovo ThinkAgile, Cisco UCS and other vSAN ReadyNode servers
- On-disk formats: vSAN on-disk format versions across vSphere 5.5 through 8.x — the format version determines the reconstruction path
Architecture and Data Layout
vSAN stores each VMDK, namespace, snapshot delta and swap file as an object. Objects are split into components distributed across hosts according to a storage policy — RAID-1 mirroring, or RAID-5/6 erasure coding — with witness components used to keep quorum. A VM is readable only when enough components and witnesses are available to form quorum for each of its objects.
In the Original Storage Architecture, each host contributes one or more disk groups, each with a dedicated cache device in front of capacity devices. Losing the cache device fails the entire disk group behind it, which is a common and often surprising cause of large-scale component loss.
The Express Storage Architecture removes the cache/capacity split: all NVMe devices in a host form a single storage pool, and each object is written through a log-structured filesystem with its own metadata. Because the layout and metadata differ from OSA, ESA reconstruction is a separate methodology rather than a variation on the same one.
Recovery is performed from images of the devices in every contributing host, reassembling components into objects, then extracting VMDKs and finally the guest file systems or databases inside them.
- Protection comes from storage policies applied per object: RAID-1 mirrors with witnesses, or RAID-5/6 erasure coding. Failures To Tolerate settings determine how many hosts or devices can be lost before an object loses quorum.
- In OSA, a failed cache device takes its whole disk group offline; in ESA, device failures are handled within the host's storage pool, which changes what must be preserved for a case.
- Objects larger than 255 GB are split into multiple components, so a single large VMDK can have components spread across many hosts.
Logical Failures
- Virtual machines or VMDKs deleted from the vSAN datastore
- Objects inaccessible after losing quorum — too many components or the witness unavailable
- Hosts removed, reimaged or evacuated before resync completed
- Cluster rebuilt or vSAN disk groups / storage pools recreated over existing data
- Failed vSphere or on-disk format upgrade
- Stretched cluster split-brain where the wrong site was resynchronised
- Guest-level corruption, ransomware encryption or file system damage inside otherwise healthy VMDKs
- Snapshot chain damage or orphaned delta files
Hardware Failures
- Cache device failure taking an entire OSA disk group offline
- Multiple capacity device failures across different hosts
- Host failures exceeding the Failures To Tolerate setting
- Storage controller or HBA faults dropping several devices at once
- NVMe device failures within an ESA storage pool
- Network partition isolating hosts or the witness appliance
- Power events taking down the whole cluster with writes in flight
Encryption and Keys
vSAN supports data-at-rest and data-in-transit encryption using an external key provider (KMS/KMIP) or vSphere Native Key Provider. Key material and the key provider configuration must be preserved with the devices — encrypted vSAN devices cannot be interpreted without them.
Frequently Asked Questions
Does it matter whether the cluster ran OSA or ESA?
Yes, materially. The Original Storage Architecture uses cache-plus-capacity disk groups, while the Express Storage Architecture uses single-tier NVMe storage pools with a different object layout and metadata. Identifying which one was in use is one of the first steps in the evaluation.
Several hosts are gone. Can anything be recovered?
It depends on the storage policy in force for each object. RAID-1 objects can survive host loss up to their Failures To Tolerate setting; erasure-coded objects have different tolerances. Partial recovery of a subset of VMs is a common outcome and is assessed per object.
Can we just rebuild the cluster and re-add the disks?
Rebuilding a cluster or recreating disk groups initialises devices and is one of the most damaging things that can be done after a vSAN failure. Preserve the current state and have it evaluated first.
Do you need all the hosts, or just the failed ones?
Devices from every host that contributed components to the affected objects are normally required, because components are distributed across the cluster rather than held on one host.
Related
- VMware Data Recovery — /services/vmware-data-recovery
- Nutanix AOS Storage — /services/enterprise-storage/software-defined-storage/nutanix
- SAN Data Recovery — /services/other-data-recovery-services/san-recovery
- Enterprise Storage Data Recovery — /services/enterprise-storage-data-recovery