ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

What is VMware Snapshot?

By Vladan SEGET | Last Updated: April 3, 2017

Shares

Another post today to our “definition” category, which starts to gain some momentum. The idea behind is to give a basic explanation on VMware technologies and how things work. We always thought that writing technical posts is enough to be successful as a blogger, but we were wrong. Our recent non-technical post What is The Difference between VMware vSphere, ESXi and vCenter is a perfect example shared over 2.2K times through our social media channels. Well, this post will be a little bit technical, but it is for a good reason – to explain What is VMware Snapshot?

Almost all backup software compatible with VMware vSphere uses VMware vSphere Storage APIs for data protection, which triggers a snapshot of a VM to backup running virtual machine (VM). Snapshot technology has evolved over time and the latest version of VMware vSphere 6.5 uses SEsparse (Space efficient) is a default format for all delta disks on the VMFS6 datastores.

Snapshots can also be painful. In the past, snapshots could completely break a VM if things go wrong. Even now, it is not recommended to run production VMs with active snapshots. Snapshots also slow down the VMs execution because the writes occurring are redirected to the VMDK delta disk file (something like “vmname-00001.vmdk”).

Snapshot terminology:

  • Snapshot – When you take a snapshot, the state of the virtual disk is preserved, which prevents the guest operating system from writing to it (it becomes a read only). It triggers the quiescing of the VM and flushes the disk contents out of the file system cache, via Volume Shadow Copy Service (VSS).
  • Delta Disk – VMware snapshot unlocks the files that make up a VM from the file system. When a snapshot is created, each virtual disk receives a snapshot delta file delta or child disk is created. The delta disk represents the difference between the current state of the virtual disk and the state that existed at the time that the previous snapshot was taken. The representation of the delta disk file on the VMFS datastore is a sparse disk.

Sparse disks use the copy-on-write mechanism, in which the virtual disk contains no data until the data is copied there by a write operation. This optimization saves storage space.

Delta disks use different sparse formats depending if your datastores are formatted with VMFS5 or with VMFS6.

Example from the lab showing a VM with two snapshots.

What is VMware Snapshot

A snapshot preserves the state and data of a virtual machine at a specific point in time, it means that snapshot creates a file which “freezes” the state the VM was during a specific time of the day.

  • The state includes the virtual machine’s power state (for example, powered-on, powered-off, suspended).
  • The data includes all of the files that make up the virtual machine ( disks, memory, virtual network interface cards….)

A virtual machine provides several operations for creating and managing snapshots and snapshot chains. These operations let you create snapshots, revert to any snapshot in the chain, and remove snapshots. You can create extensive snapshot trees. Additionally, the new VMware vSphere Storage APIs for data protection provide a configurable timeout for creating quiesced snapshots.

Example from the lab showing a VM with two snapshots. (Datastore view).

What is VMware Snapshot ?

New in VMware vSphere 6.5 and VMFS 6

SEsparse (Space efficient) is a default format for all delta disks on the VMFS6 datastores.

Quote from VMware:

SEsparse is a format similar to VMFSsparse with some enhancements. This format is space efficient and supports space reclamation. With space reclamation, blocks that are deleted by the guest OS are marked and commands are issued to the SEsparse layer in the hypervisor to unmap those blocks. This helps to reclaim space allocated by SEsparse once the guest operating system has deleted that data. For more information about space reclamation.

The Snapshot Structure

When a virtual machine snapshot is created, all attached disks are snapshotted simultaneously. So there will be one delta disk per virtual machine disk, per snapshot.

The files on the datastore looks like this (represents a VM with 3 snapshots):

/vmfs/volumes/datastore1/examplevm/examplevm-000001.vmdk
/vmfs/volumes/datastore1/examplevm/examplevm-000002.vmdk
/vmfs/volumes/datastore1/examplevm/examplevm-000003.vmdk
…
/vmfs/volumes/datastore1/examplevm/examplevm.vmdk
/vmfs/volumes/datastore1/examplevm/examplevm.vmx

Best Practices for Using VMware Snapshots

  • VMware recommends only a maximum of 32 snapshots in a chain. For a better performance, use only 2 to 3 snapshots.
  • Do not use a single snapshot for more than 24-72 hours.
  • Snapshots are NOT backups.
  • The snapshot file is only a change log of the original virtual disk, it creates a place holder disk, virtual_machine-00000x-delta.vmdk, to store data changes since the time the snapshot was created. If the base disks are deleted, the snapshot files are not sufficient to restore a virtual machine.
  • Snapshots grow with time – This can cause the snapshot storage location to run out of space and impact the system performance.
  • From time to time, make sure that your backup software deletes snapshots. That there are no snapshots left. (Note that I remember battling with Symantec Backup exec back in a time. The product was leaving snapshots behind and the troubleshooting was really painful). Snapshots taken by third party software (through API) may not appear in the Snapshot Manager. Routinely check for snapshots through the command-line (or via a free utility called Snapwatcher for VMware – snapshot detection for VMware infrastructure. Can detect invalid, broken snapshots. Easy to install the app. I have reviewed the enterprise version which can also fix and delete broken snapshots from within the console.)
  • DO NOT Increase the virtual machine disk size or virtual RDM when VM has snapshots – Increasing the disk size when snapshots are still available can corrupt snapshots and result in data loss.

Wrap Up:

Snapshots are cool as such (if I can tell that), but should not be used as backups or you should not have VMs running on snapshots for days and days. To backup VMs there is backup software. You can find plenty of backup software compatible with VMware datacenter virtualization technologies.

Snapshots can negatively affect the performance of a virtual machine. Performance degradation is based on how long the snapshot or snapshot tree is, how deep is the tree, and how much the VM and the guest OS have changed from the time you took the snapshot. Additionally, you might see a longer delay when Powering ON a VM. If your VM has disks larger than 2TB, then snapshot can take much much longer.

So, snapshots yes, but not excessively….

More posts from ESX Virtualization:

  • Dedicated vSphere 6.5 Page
  • Free Tools Page
  • Three Ways to Enable ESXi Shell and Timeout
  • How to Migrate Windows Based vCenter to VCSA 6.5 [Lab]
  • Upgrade Windows Server 2012R2 AD to Server 2016

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
5/5 - (1 vote)

| Filed Under: Server Virtualization, Tips Tagged With: What is VMware Snapshot?

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in