Marcio Cunha

VMware Snapshots: How They Work and Why They Are Not Backups

Understand the internal architecture of VMware vSphere snapshots, storage performance impacts, and the critical reasons why this technology should never replace traditional backups.

Marcio Cunha12 min
Also available in:EspañolPortuguês
Summary
  • VMware snapshots create delta files that record incremental changes while freezing the original disk in read-only mode.
  • Keeping snapshots for extended periods drastically degrades storage read and write performance.
  • The snapshot consolidation process demands intense IOPS and can cause noticeable freezes in virtual machines.
  • Dependency on a single disk chain corrupts the entire structure if the base file suffers catastrophic failures.
  • Disaster recovery requires complete, independent copies, something dependent delta files cannot provide.

The Illusion of Instant Safety in Virtualized Environments

When managing virtualized environments, the snapshot tool often feels like a magical fix for any risky system change. With just a few clicks, we create a point-in-time restore point that promises to save us from disastrous failures. However, treating this operational convenience as a robust backup strategy is one of the most common and dangerous errors in infrastructure engineering. In practice, a snapshot is not a safety copy of your data, but rather a dynamic change log that entirely depends on the original disk to remain functional.

To understand why this distinction matters so much, we need to look inside the VMware vSphere ecosystem and examine how files are managed at the hypervisor level. The hypervisor is the software layer responsible for managing physical hardware and running virtual machines. When we comprehend the mechanics behind data writing, we realize that a snapshot is a temporary operational feature, created for very specific purposes, and never for long-term preservation.

The Internal Anatomy of a VMware Snapshot

When you request a virtual machine snapshot in VMware ESXi, the system performs a series of complex operations behind the scenes in fractions of a second. First, the original virtual disk, technically known as the base disk (or main .vmdk file), is placed into a strict read-only state. Any new data writes that the guest operating system attempts to make can no longer alter this original file directly.

Instead, VMware creates a new support file, called a delta file or redirection file. Think of this as a temporary tracing paper placed over a printed document: instead of scribbling on the official paper, you note corrections on a transparent sheet glued on top. Every data block that is modified, deleted, or created is now written exclusively to this delta file, while the base remains frozen at the exact moment the snapshot was taken.

As time passes and applications continue to write data, this delta file progressively grows. If you keep the snapshot active for weeks, the delta file can reach massive sizes, mirroring almost all write activity of the virtual machine. This is where severe performance issues begin, which many administrators eventually face in production environments without proper planning.

The Hidden Performance Cost and Disk Chain Complexity

The impact of keeping snapshots active for too long goes far beyond simple disk space consumption. Enterprise storage relies on fast, indexed lookups to deliver data efficiently. When a snapshot is active, the hypervisor must query multiple files in a chain to locate a single data block requested by the application.

Imagine you have created three snapshots on different dates. The system now reads data through a chain composed of the base disk plus three stacked delta files. If the application needs to read a block, VMware may have to check the newest delta file, then the previous one, the second-to-last, and finally the base disk. This multi-layered search process creates a massive computational overhead, known in technical jargon as the disk chain penalty.

In practice, this means your disk response time (latency) spikes, applications freeze or respond with extreme slowness, and databases hosted on that virtual machine may suffer severe timeouts. What started as a harmless precaution quickly transforms into a critical performance bottleneck for the underlying physical infrastructure.

The Critical Moment of Deletion and Consolidation

Deleting a snapshot is a much more complex process than simply deleting a regular operating system file. When you click 'Consolidate' or 'Delete All' in vSphere, the hypervisor must perform a surgical operation called consolidation. This process forces the system to read all data recorded in the delta files and merge them back into the original base disk or an intermediate file.

During this merge, storage processing resources and input/output operations per second (IOPS) are heavily consumed. The storage must process delta reads, rewrite blocks in the correct order, and update the allocation table, all while the virtual machine continues running and generating new writes. If the delta file is very large, this consolidation can take hours or even days.

The most feared risk at this stage is process freezing or failure due to power outages, storage space exhaustion, or software bugs. When consolidation fails, the virtual machine may lose access to its disks, resulting in severe service downtime and requiring complex manual intervention via command line to recover .vmdk file integrity.

Why a Snapshot Never Replaces a Backup

The fundamental difference between a snapshot and a backup lies in the principle of dependency. A true backup is a self-sufficient, independent copy of data, typically stored in a physical or logical location isolated from the source system. If primary storage suffers a catastrophic failure—such as a controller meltdown or datastore file system corruption—everything inside that storage is lost.

Because snapshot delta files entirely depend on the base file to make sense, corruption of the original disk instantly invalidates the entire chain. A snapshot does not protect against hardware failures, datastore corruption, ransomware attacks encrypting primary storage, or human error resulting in accidental base disk deletion. It resides in the same physical location and shares the exact same structural risks as the original data.

Furthermore, real backup policies involve long-term retention, immutable versioning, and regular recovery testing. Snapshots are designed to last for hours or, at most, a few days, serving exclusively as a temporary safety net before risky software updates or operating system patches.

Final Considerations on Infrastructure Management

Efficient management of virtualized environments requires discipline and a clear understanding of the tools available within the VMware ecosystem. Snapshots are indispensable and extremely useful when employed for the right duration and appropriate purpose, such as short maintenance windows or rapid patch validation.

However, delegating corporate protection to snapshots is a risky gamble that will inevitably result in data loss, performance degradation, or service downtime. Adopting a modern backup strategy, using external solutions that export real copies to secondary storage or cloud, remains the only way to guarantee business resilience and continuity against any technological mishap.