Discussions specific to the VMware vSphere hypervisor
Post Reply
szimmerman
Lurker
Posts: 2
Liked: never
Joined: Mar 04, 2015 7:23 am
Full Name: Scott Zimmerman
Contact:

"VM has stuck VM snapshot, will attempt to consolidate"

Post by szimmerman » Mar 06, 2015 6:42 pm

I was backing up our Virtual Center VM last night. Taking a lot longer then it normally does when doing a full backup (5 hours vs 10+ hours) so I had to stop the backup. I noticed the 'Removing VM snapshot' took 54 mins to remove! On top of that I got a message stating "vCenter has stuck VM snapshot, will attempt to consolidate periodically." I have never seen that before and naturally I am worried about rebooting the VM. Also, the VM ended backup normally with errors since I stopped it. Any help would be great!

Vitaliy S.
Product Manager
Posts: 23001
Liked: 1557 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by Vitaliy S. » Mar 06, 2015 7:31 pm

Hi Scott,

Please take a look at this description of the feature you're currently seeing "in action" > Snapshot Hunter. Since you've aborted the backup job, there could VM snapshot left on the vCenter Server VM.

Thanks!

B.F.
Expert
Posts: 152
Liked: 9 times
Joined: Jan 28, 2014 5:41 pm
Contact:

[MERGED] Stuck VM Snapshot?

Post by B.F. » Feb 28, 2019 3:52 pm

Greetings,

The last few backups of our file server VM, I've noticed this in the job details which didn't happen before:

<snipped>
2/27/2019 9:34:41 PM :: Removing VM snapshot
2/27/2019 9:35:37 PM :: <VM NAME> has stuck VM snapshot, will attempt to consolidate periodically
2/27/2019 9:35:39 PM :: Finalizing
<snipped>

There are green checks across the board and appears to be working. I'm not seeing any lingering snapshots in vSphere either. Just wanted to make sure there isn't something we need to be looking into or just let it roll.

Thanks!

B.F.
Expert
Posts: 152
Liked: 9 times
Joined: Jan 28, 2014 5:41 pm
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by B.F. » Feb 28, 2019 4:28 pm

Moderators,

Not sure what solution is gained by this merge? Is Snapshot Hunter finding snapshots I'm not seeing in vSphere? Is there a way to look for these phantom snapshots? Snapshot manger in vSphere shows nothing.

Thanks!

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by foggy » Feb 28, 2019 4:35 pm

Yes, Snapshot Hunter detects "phantom" snapshot files that exist on datastore but are not registered in vSphere.

Vitaliy S.
Product Manager
Posts: 23001
Liked: 1557 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by Vitaliy S. » Feb 28, 2019 4:41 pm

You can also use Veeam ONE to track all orphaned and stalled VM snapshots with our predefined alarms. Not only will these alarms spot these snapshots but they will also attempt to remove these for you via remediation actions set in the alarm.

B.F.
Expert
Posts: 152
Liked: 9 times
Joined: Jan 28, 2014 5:41 pm
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by B.F. » Feb 28, 2019 4:51 pm

I'm browsing the datastore file structure on this VM. According to VMware docs the snapshot files "... uses the following syntax, S1vm-000001.vmdk where S1vm is the name of the virtual machine and the six-digit number, 000001, is based on the files that already exist in the directory."

I'm not seeing any 000001 vmdk files in the file structure. I created a snapshot manually and then I observed the presence of the 000001 files.

Snapshot Hunter false positive?

Thanks

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by foggy » Feb 28, 2019 4:55 pm

Any chance it succeeded to consolidate it during the last attempt? If you still see this message during backup, feel free to contact support for a closer look.

B.F.
Expert
Posts: 152
Liked: 9 times
Joined: Jan 28, 2014 5:41 pm
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by B.F. » Feb 28, 2019 5:08 pm

We may have stumbled on the cause. There was a little bit of overlap for this VM where the backup was spilling over into the replication job for that same VM. We've made adjustments and will report back if that was the issue.

Thanks

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by foggy » Feb 28, 2019 5:12 pm

It generally shouldn't be the case if both backup and replication jobs are managed by the same backup server. But let's see.

B.F.
Expert
Posts: 152
Liked: 9 times
Joined: Jan 28, 2014 5:41 pm
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by B.F. » Mar 01, 2019 3:13 pm 1 person likes this post

Problem solved. The backup and replication are actually on 2 different Veeam servers so the overlap was the cause.

Why 2 servers you ask? Backup jobs run locally on prem. Replication server is at the secondary site which pulls the data for replication. Main site blows up, we can recover quickly since Veeam is still alive at the secondary.

Thanks

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by foggy » Mar 01, 2019 3:29 pm

Thanks for sharing. Your setup is totally reasonable. In some cases though a single Veeam B&R instance in DR is preferred (unless both sites have equal roles and you cross-replicate in both directions).

B.F.
Expert
Posts: 152
Liked: 9 times
Joined: Jan 28, 2014 5:41 pm
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by B.F. » Mar 01, 2019 3:33 pm

In some cases though a single Veeam B&R instance in DR is preferred (unless both sites have equal roles and you cross-replicate in both directions).
Yes, the secondary site also is used on a smaller scale for it's own production work. Cross replication does occur and works well....as long as there is no backup overlapping. :)

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: "VM has stuck VM snapshot, will attempt to consolidate"

Post by foggy » Mar 01, 2019 3:35 pm

Understood. At least now you know you should keep an eye on the schedule.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 10 guests