---
title: "Virtual Machine Modifications and Differencing Disks"
slug: "virtual-machine-modifications-and-differencing-disks"
updated: 2024-11-04T18:37:03Z
published: 2024-11-04T18:37:03Z
canonical: "docs.skillable.com/virtual-machine-modifications-and-differencing-disks"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Virtual Machine Modifications and Differencing Disks

### Virtual Machine Modifications and Differencing Disks

When building labs using either ESX or Hyper-V, changes saved to a Virtual Machine (VM) via the "Commit Changes" menu in the Lab Client result in Skillable Studio creating an additional disk segment. This segment contains all the changes made and is typically referred to as a Differencing Disk, Snapshot, or Checkpoint, depending on the underlying technology. At Skillable, these are referred to as Differencing Disks.

### What is a Differencing Disk?

A Differencing Disk is a type of Virtual Hard Disk (VHD) used in virtual environments to store and manage changes made to another VHD, known as the parent disk. This allows the parent disk to remain unchanged while the Differencing Disk contains only the modifications. This setup is useful for tracking, storing, and restoring changes without altering the original VHD. Changes tracked by a Differencing Disk include creating new files, updating existing files, or deleting files from the virtual machine.

Skillable supports both ESX and Hyper-V, which use different file formats:

- **ESX:** Files end with a .VMDK extension.
- **Hyper-V:** Files end with either .VHD or .VHDX, with .VHDX being the preferred format.

### How Skillable Uses Differencing Disks

When changes are committed (saved) in a VM Lab Profile using the Lab Client, Skillable Studio captures all the changes made since the Lab Profile was launched and saves them into a new VHD(X) or VMDK file. This file is then attached to the previous VM file, forming a "Disk Chain" that includes a parent disk and a child disk. As more changes are made and saved, the chain can grow, which may negatively affect performance.

##### Example:

- Initially, an ESX VM has a single Virtual Disk (VMDK file).

![A screenshot of a computer Description automatically generated](https://cdn.document360.io/a298db04-a0fe-47e0-bfe3-c52d6f9d7c8c/Images/Documentation/image-1724073889979.png)

- After changes are saved, a second VMDK file is created to store these changes, and this file is attached to the VM.

![A screenshot of a computer Description automatically generated](https://cdn.document360.io/a298db04-a0fe-47e0-bfe3-c52d6f9d7c8c/Images/Documentation/image-1724073910423.png)

### Differencing Disk Naming Convention

In the screen shots above you will notice there is a sequence of numbers that follow the filename of the Differencing Disk, these numbers have significant meaning in this example:

`141920-223704-1724069166-01.vmdk`

| Value | Meaning |
| --- | --- |
| 141920 | Lab Profile ID |
| 223704 | Virtual Machine Profile ID |
| 1724069166 | Time Stamp in Epoch notation ([Epoch Converter - Unix Timestamp Converter](https://www.epochconverter.com/)) |
| 01 | Sequence number of the differencing disk |

### Editing the Disk Chain

The Virtual Disk Chain can be edited within the VM Profile on the Hard Disks page. This page allows you to:

- [**Remove the latest Differencing Disk**](/v1/docs/rollback-differencing-disks) to undo recent changes.
- **Remove a Differencing Disk higher in the chain,** which deletes all subsequent disks in the list since each disk in the chain depends on those preceding it.
- **Add a Differencing Disk to the chain**, this can be very useful if you have made an update to the VM Profile in development and wish to add those changes to the Production VM profile without republishing the whole Lab Profile or Lab Series. The procedure is the same as the process for Adding a deleted differencing back into a VM Profile on the [Rollback Differencing Disks](/v1/docs/rollback-differencing-disks) page.

Note: Deleting disks from the Hard Disks page does not delete the files from Skillable storage. They can be added back if needed or permanently deleted using the Storage Manager on the Admin page.

### Merging Differencing Disks

> [!NOTE]
> Merging of Differencing Disks
> 
> Merging consolidates multiple disk files into a single file, reducing resource consumption by the host computer, and improving the performance of the VM.

As a Differencing Disk chain grows, VM performance may degrade because the host CPUs must work harder to merge all the disk files in memory to present the correct content to the user. If performance issues arise and the disk chain is significantly long, consider merging the disk chain.

While there is no specific rule for when to merge, Skillable has found that VMs with 10-15 Differencing Disks in a single chain often will get a performance benefit from merging. The best time to consider merging is just before moving a Lab Profile to production.

To request a disk chain merge for all VMs in a Lab Profile or a specific VM Profile, place a [support call with Skillable](https://www.skillable.com/customer-support). Please note that due to the potential number and size of the disks, the process may take several days.

### Best Practices

- Group updates to virtual machines together to create fewer, larger Differencing Disks rather than many small ones.
- When moving a Lab Profile to production contact Skillable support to merge the disks first, if the Lab Profile has over 10 differencing disks
- Delete unneeded files from Storage

A virtual machine is the virtualization or emulation of a computer system. Virtual machines are based on computer architectures and provide the functionality of a physical computer.

ESX hardware virtualization platform that enables the use of virtual machines.

Microsoft hardware virtualization platform that enables the use of virtual machines.

The interface that the user sees as they work in a lab. The interface is presented in a HTML5 compatible browser and normally contains two major components. One component presents the service the Learner will interact with, and the second component contains instructions and other resources to guide the Learner.

Skillable's lab building & authoring platform.

Virtual Hard Disk is a file format representing a virtual hard disk drive. They may contain what is found on a physical HDD, such as disk partitions and a file system, which in turn can contain files and folders.

Labs in Skillable Studio are housed in a Lab Profile. The Lab Profile contains the information about the configurable settings and the virtual machines that make up a lab. For a Lab Profile to be published it must be part of a Lab Series.

The individual files that are used to represent physical disks in a virtual machine.

A Virtual Machine profile represents the hardware configuration of a virtual machine. Base settings would include, memory, processor, network adapters and storage configuration. The actual settings available are dependent on the fabric the Virtual Machine would be running on.

The list of Differencing Disks/Snapshots/checkpoint files that combine to represent the physical disk contents of a virtual machine in the lab environment when launched.

A Lab Series is a container that holds one or more Lab Profiles. The Lab Series contains Lab Profiles and settings for the Lab Series. It is like the cover of a book, while the Lab Profiles are like the chapters within the book.
