VMware Cloud Community
alexp_789
Contributor
Contributor

Unable to take Snapshots - Unable to save snapshot file

Hi All,

Well i don't know why, but snapshots have stopped working on 'some' of my virtual machines.... The error i get in VC is:

A general system error occured: Unable to save snapshot file

Now the weird bit, if i reboot the virtual machine the problem persists, however if i power the machine off, and then re-start it, it magically works again!?!?!?

I have two ESX servers, and i've tried migrating the machines between them and the problem occurs on both, i'm using a NetApp filer and iSCSI for storage.

I'm posting this 1) so i hopefully can fix this issue, and 2) so other people know that simply powering the virtual machines on and off will fix the problem (if you can call it a fix!

Thanks in advance all!!

Alex

0 Kudos
31 Replies
kitcolbert
VMware Employee
VMware Employee

Luckily this bug does NOT affect VCB. VCB uses non-memory snapshots, and only memory snapshots are affected by VMotion. But obviously this is still a bad bug.

0 Kudos
ErMaC1
Expert
Expert

The bizarre thing is there must be some other condition that has to be in place before this bug occurs, because I could swear we VMotioned a machine and snapshotted it and it worked before. Is there more to this than what's been mentioned here?

My tech told me that it's Bug 118647 but I don't know how to look that up or if that's public information. Could you tell us what conditions are required to cause this bug? Or is it really just my imagination that this worked for a long time?

0 Kudos
kitcolbert
VMware Employee
VMware Employee

Bug 118647 is this defect's id in our internal bug tracking system. Only VMware employees have access to it (so I'm not sure what good telling you it's bug 118647 does you, except possibly to indirectly tell you that engineers here are working on it).

My understanding is that if you VMotion a VM and then attempt a snapshot with the "Snapshot the Virtual Machine's memory" box checked, then the snapshot will fail every time. Only after power cycling the VM will snapshots work again (until you VMotion it, of course). You could try doing a quick VMotion and then a snapshot with the "snapshot memory" box checked to verify this.

Note that suspend functionality is not affected. You can suspend a VMotion'ed VM, you just can't take a snapshot. Also, I believe that snapshot functionality is new to ESX 3.0. I don't think we had it in 2.x. Thus this bug couldn't exist in 2.x because we didn't have snapshots. So perhaps that's where your confusion is coming from?

0 Kudos
markzz
Enthusiast
Enthusiast

I can only agree, we are experiencing this issue also.

The power off option does generally resolve the issue but again not always. What does seem to always resolve the issue is to power off. Clone the server.. But what a rather nasty painfull routine..

It appears that if a Guest VM has an existing snapshot (yes we have a couple who continue to run dev servers in snapshot) they don't suffer from this issue. Not always but sometimes when you try to VMotion these servers (while they are in snapshot) they fail the VMotion.

I have just Vmotioned one it worked this time..Pot luck it seems..

0 Kudos
kitcolbert
VMware Employee
VMware Employee

The power off option does generally resolve the issue

but again not always. What does seem to always

resolve the issue is to power off. Clone the server..

But what a rather nasty painfull routine..

What specific 'issue' are you talking about here? Is it taking a snapshot after VMotion? If so, my understanding is that a poweroff will always fix it. If it's not, then I believe you're hitting a different problem. Is that the case?

It appears that if a Guest VM has an existing

snapshot (yes we have a couple who continue to run

dev servers in snapshot) they don't suffer from this

issue.

As long as you don't take any new snapshots, VMotion should be fine.

Not always but sometimes when you try to

VMotion these servers (while they are in snapshot)

they fail the VMotion.

What is the error? Do you have any logs that you can post?

0 Kudos
shaneyoder
Hot Shot
Hot Shot

I am seeing this issue as well. I'm suprised I never saw it until now.

The only thing that is new to my environment is that I just enable HA/DRS and clustered my ESX hosts. If I VMotion a VM, I get the error. If I power off/on it works again. If I VMotion it again, it breaks.

I even tried removing my cluster, but I still experience the same problem.

Is a fix planned in the next release? Perhaps I'll file my own SR.

0 Kudos
kitcolbert
VMware Employee
VMware Employee

There's no need to file any more SR's. The problem is understood and should be fixed in an upcoming release.

0 Kudos
Timothy_Huckaba
Contributor
Contributor

This is a long-standing bug in VMWare, and has been around since at least version 3 of VMWare Workstation, which is when I first encountered it. In the past, it was possible to change a path setting in a particular configuration file for the virtual machine in question. Today, with VMWare 5.x, it is an easier matter. Here is the solution:

1) For the VM in question, go to VM -> Settings -> Options tab -> General in VMWare Workstation (for example)

2) Note the folder specified under Working Directory (where suspend files and snapshots would be stored)

3) Create a subfolder (e.g., call it Snapshots) under the folder in step 2

4) Under General, Browse to the subfolder created in step 3, selecting it as the new location for suspend files and snapshots.

NOTE: Your virtual machine must be powered off to perform the above steps. Once they are completed, suspend should work.

This is a perfect example of shoddy QA processes at VMWare, and a bug that VMWare should have corrected long ago. The bug occurs because when a VMs original hard drive is replaced (e.g., with a cloned drive that is larger), the VMs configuration settings end up pointing to an EMPTY (impossible) path for snapshots and suspends (a kind of snapshot) even though the path shown for the working directory for snapshots and suspends is a real path. This is the sort of bug that could be fixed very easily by any decent software engineer. (Sorry to burst your bubble VMWare, but I believe in stating things as they are in reality.)

P.S. I have been a VMWare BETA tester since the release of Workstation 2, and heavily promote VMWare's products to my clients because on the whole, I think VMWare is a great company with a great deal to offer the entire IT industry through its products.

0 Kudos
DAE51D
Contributor
Contributor

I have to admit, this is incredibly frustrating too. I love VMWare, but when I hit these kinds of things it really annoys me. Thank God you have at least a hack solution for this bug.

0 Kudos
seburtch
Contributor
Contributor

Thank you, thank you, thank you Timothy Huckabay!

Your post just saved me 1/2 day of re-doing an image.

0 Kudos
SteveCA
Contributor
Contributor

This is a long-standing bug in VMWare, and has been around since at least version 3 of VMWare Workstation, which is when I first encountered it. In the past, it was possible to change a path setting in a particular configuration file for the virtual machine in question. Today, with VMWare 5.x, it is an easier matter. Here is the solution:Thank you Timothy! You just saved me a lot of time.

Thank you Timothy! You just saved me a lot of time.

@VMWare:

I am a large corporate paying customer using VMWare Workstation 6. Why did I have to read how to fix this problem out of a Google Cache? Why has it been years and this problem still plauges your Workstation product. Why is your community forum unbearably slow that I had to use Google's cache to find and read the answer?

0 Kudos
mohitkshirsagar
Contributor
Contributor

Hi Guys,

I was facing the same issue for a few hours. I could not create a snapshot of my VM. I realized that i had enable scsi bus sharing on my scsi controller.

May be this might help someone with a similar issue.

Regards,

Mohit Kshirsagar

VCP

0 Kudos