VMware vSphere

 View Only
Expand all | Collapse all

An error occurred while saving the snapshot

opoet3

opoet3Jul 19, 2021 09:27 AM

  • 1.  An error occurred while saving the snapshot

    Posted May 10, 2021 04:00 AM

    Hi

    When i want to create snapshot on ESXi 7.0.2, 17867351 i get this error.

    An error occurred while saving the snapshot: msg.changetracker.MIRRORCOPYSTATUS. An error occurred while taking a snapshot: msg.changetracker.MIRRORCOPYSTATUS.

    How can i solve this error?

     



  • 2.  RE: An error occurred while saving the snapshot

    Posted May 10, 2021 01:05 PM

    hi

    verify if this kb of veeam talk about your problem

    https://www.veeam.com/kb4003

     



  • 3.  RE: An error occurred while saving the snapshot

    Posted May 11, 2021 08:27 AM

    Thanks

    This is not related to my problem.



  • 4.  RE: An error occurred while saving the snapshot

    Posted May 16, 2021 03:58 PM

    Hi!

    Got the same error today, basically triggered from Veeam, but related to taking snapshot of my VM, before backup.

    Finding
    I did a quick troubleshoot in the vmware.log of the affected VM, and found a locking issue, like this:
    "2021-05-16T15:38:49.953Z| vmx| | W003: DISKLIB-CBT : ChangeTrackerESX_GetMirrorCopyProgress: Failed to copy mirror: Lost previously held disk lock".

    Resolution/workaround
    Since the locking is held locally by the host, I just did a vMotion of the VM (to another host, in my cluster), to re-issue the lock by another host. Re-trying snapshot, it now completed successfully (and backup is now working again).



  • 5.  RE: An error occurred while saving the snapshot

    Posted May 17, 2021 02:56 AM

    Thanks.

    I had reached this solution before, but this solution is a temporary solution, and after a few days the error is repeated for other virtual machines, and by vmotion them to other hosts, the error is repeated for other virtual machines.



  • 6.  RE: An error occurred while saving the snapshot

    Posted May 17, 2021 06:41 AM

    Interesting, I'll have to wait to see if the same pattern happens here. Backup went fine yesterday, and this night (as usual). Only occured on one (1) VM for me, so far.

     

    - I did also notice a DRS vMotion (auto) occured on the VM earlier the same day (some hours before I got the snapshot/locking issues).

    Q: Maybe you could check, if same pattern occured in your environment; e.g. vMotions/changes on the VM before snapshot issues occured? If so, lowering the DRS threshold could also help "slow down" the occurence (not a permanent solution, but the impact/frequency may be reduced).

     

    I'm also running ESXi 7.0.2 build-17867351, in a 4-node vSAN cluster.

    Q: Are you also running vSAN, or is this regular VMFS/NFS datastore?



  • 7.  RE: An error occurred while saving the snapshot

    Posted May 17, 2021 07:09 AM

    I disabled DRS a long time ago but it didn't have much effect, our infrastructure uses a VMFS datastore.



  • 8.  RE: An error occurred while saving the snapshot

    Posted May 31, 2021 06:12 AM

    Do you see any consolidation errors on the VM?
    What happens if you open the Snapshot manager?



  • 9.  RE: An error occurred while saving the snapshot

    Posted May 31, 2021 07:54 AM

    No consolidation error.

    Snapshot manager is empty.



  • 10.  RE: An error occurred while saving the snapshot

    Posted May 31, 2021 04:24 PM

    1. check your Veeam VM wether it still has mounted vmdks that should be not mounted.
    2. check your Windows VMs wether they report VSS-problems - and deal with the errors.



  • 11.  RE: An error occurred while saving the snapshot

    Posted Jun 01, 2021 02:13 AM

    Thanks.

    1. No.

    2. No.



  • 12.  RE: An error occurred while saving the snapshot

    Posted Jun 01, 2021 06:31 AM

    Please search for more details of possible causes in the vmware.log file via running the following command, especially when you try to generate the snapshot:

    cat  /vmfs/volumes/[datastore-name]/[vm-name]/vmware.log

    You can also mix the command with the (  | grep -i "snapshot ) to search for related keywords



  • 13.  RE: An error occurred while saving the snapshot

    Posted Jun 01, 2021 06:52 AM

    If you see my first reply, I'm getting error with disk lock, and from the process DISKLIB-CBT. Workaround to clear lock for me; migrate the VM to another host. I have not had any issues with locking since. May be issues with CBT/CTK, which also may be disabled on VM level (if only occuring on some VMs, etc.). May be other underlying issues with hosts, etc.

    Previous post
    https://communities.vmware.com/t5/VMware-vSphere-Discussions/An-error-occurred-while-saving-the-snapshot/m-p/2847377/highlight/true#M39149

    The error I'm referring to

     

    Since this process fail, the following snapshot request process (SnapshotPrepareTakeDoneCB) will also fail, hence the error seen in vSphere Client (my guess)

     

    I wrote a short guest post, which includes the full vmware.log for a VM, while having snapshot issues, and trying to trigger a manual snapshot (regular snapshot, via vSphere Client), which includes some more details. The relevant part is of course the warning from DISKLIB-CBT, regarding the lock.

    https://vninja.net/2021/05/18/error-occurred-while-saving-snapshot-msg.changetracker.mirrorcopystatus

     

    I would start with verifying if it's the same error (see the same error in the vmware.log), then go from there. If Production w/SnS, just open a SR with VMware, OFC.



  • 14.  RE: An error occurred while saving the snapshot

    Posted Jun 01, 2021 12:21 PM

    VM log:



  • 15.  RE: An error occurred while saving the snapshot

    Posted Jun 01, 2021 12:36 PM

    VM Log:

    Moderator note by wila: Pulled your post from the spam queue and moved the log details into a spoiler.

     



  • 16.  RE: An error occurred while saving the snapshot

    Posted Jun 03, 2021 07:59 AM

    Reduce the number of search terms. Each term you use focuses the search further. · Check your spelling. A single misspelled or incorrectly typed.

     

    Official website



  • 17.  RE: An error occurred while saving the snapshot

    Posted Jul 19, 2021 09:27 AM

    UP