Snapshot with memory fails with the error: Failed to take a memory snapshot, since the virtual machine is configured with independent disks
search cancel

Snapshot with memory fails with the error: Failed to take a memory snapshot, since the virtual machine is configured with independent disks

book

Article ID: 311187

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

 

 


Symptoms:
When attempting to take a snapshot of a powered on virtual machine, you experience these symptoms:
  • You cannot take a snapshot with the Snapshot the virtual machine's memory option selected.
  • You see this error:

    Failed to take a memory snapshot, since the virtual machine is configured with independent disks.
Notes:
  • You may also experience this issue with RDMs in the physical compatibility mode, because they are always independent. For more information about Raw Device Mapping, see RDM Considerations and Limitations
  • You will experience the same symptoms if you attempt to take a snapshot of a suspended virtual machine.
 


Environment

VMware ESXi 6.5.x
VMware vCenter Server 4.1.x
VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 5.5
VMware vSphere ESXi 5.1
VMware ESXi 6.7.x

Cause

Taking a virtual memory snapshot allows a virtual machine to be reverted to the state it was when the snapshot was taken. This is achieved by saving the memory state of that virtual machine while taking the disk snapshot. By doing this, you can revert the original virtual machine functioning state by reloading the memory state and dropping the matching disk snapshot.
 
However, the persistent attribute of a disk prevents the system from taking a disk snapshot, which means that there is no way to revert to the state the virtual machine was in when the snapshot was taken.

Resolution

This is an expected behavior, virtual machines with Independent disks cannot use memory or quiesced snapshots.
 
To resolve this issue, use one of these options:
  • When taking a snapshot of a virtual machine, deselect the Snapshot the virtual machine's memory and Quiesce Snapshot options.
  • Change the disk mode from Independent to Dependent .

    To change the options for the virtual disk(s):
     
    1. Power off the virtual machine
    2. Right-click the virtual machine and click Edit Settings.
    3. Find the affected virtual disk(s) and expand to see all the hard disk details
    4. Change the Disk Mode to Dependent
    5. Click OK to apply and save the changes to the virtual machine configuration.
Now snapshot with memory or quiesced snapshot will complete successfully

Additional Information

For more information on Independent virtual disks and virtual disk provisioning policies, see:
 
スナップショットの取得が次のエラーで失敗する: Failed to take a memory snapshot, since the virtual machine is configured with independent disks
生成快照失败并显示以下错误:由于虚拟机配置有独立磁盘,未能生成内存快照