Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VMware - Server is running in snapshot mode and datastore is out of space

Posted on 2011-09-21
6
Medium Priority
?
3,439 Views
Last Modified: 2012-05-12
Hello,

I'm hoping someone can give me some advice - I've had a look around different posts but none seem to quite apply to my problem.

I have a virtual Windows Server 2008 R2 (64-bit) server, which is on a host installed with ESXi 4.1. Some time ago, although I can't recall doing it, I created a snapshot. It seems that since then the machine has been running in snapshot mode, and I came into work this morning to the following error:

There is no more space for virtual disk CompanyName-Exchange_1-000001.vmdk. you might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.

I clicked cancel, and after the fear of watching the virtual server go into an orphaned state (and come back up again) subsided, I looked at the snapshot manager and the datastore.

I deleted the snapshot, but this didn't complete properly due to insufficient space on the datastore. The snapshot manager is now not showing any snapshots, however the datastore looks like this:

 Datastore Browser
Looking at the settings for the server, it is actively using the 000001.vmdk virtual disks (which as you can see are quite large), rather than the originals.

What I believe I need to do is consolidate the changes and delete the snapshots, however I do not have the space to do this.

Any suggestions would be welcome!


Many Thanks,

Chris
0
Comment
Question by:chris2506
  • 3
  • 3
6 Comments
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 36573864
It's possible, that a third party backup software left the VM in Snapshot Mode.

Do you have enough disk space to consolidate the snapshots?

You could try Taking a New Snapshot, waiting 60 seconds, and Deleteing the Snapshot.

BUT, only do this if you have enough disk space.

Otherwise use Clone or VMware Converter Standalone to create a new VM with the snapshots.

Download VMware vCenter Converter here
http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0

VMware vCenter Converter Standalone 4.x Documentation
http://www.vmware.com/support/pubs/converter_pubs.html

VMware vCenter Converter Standalone 4.3 User Guide
http://www.vmware.com/pdf/convsa_43_guide.pdf
0
 
LVL 3

Author Comment

by:chris2506
ID: 36574104
Hi Hanccocka,

Thank you for the quick response.

I have just enough space on another datastore, but am unsure how to consolidate to a different datastore (or even if it's possible); do you know if this may be an option?

I don't have enough space to start a new snapshot unfortunately.

I would assume that creating a new VM would take quite a long time, and this is a production server - is it possible to convert while the machine is still running?


Thanks again,

Chris
0
 
LVL 124
ID: 36574136
VMware Converter Standalone 5.0 or 4.3 will convert whilst hot!

I would use VMware Converter to create and convert to a new VM on the new datastore.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 3

Author Comment

by:chris2506
ID: 36574211
Thanks, I'm just looking through the documentation now and will post back!
0
 
LVL 124
ID: 36574237
Any question please ask away.
0
 
LVL 3

Author Closing Comment

by:chris2506
ID: 36596005
Hi Hanccocka,

Thank you for the solution.

What I did in the end was to migrate a DC that was sat on the effected datastore onto the second that had space. This alleviated the problem, and the next step once the space had been freed up was to follow your suggestion to take another snapshot and then delete it, which removed the snapshot files that were taking up unnecessary space.

Although I took an extra step in the solution, I hadn't given you all the information regarding the other servers that were using the datastore in question, and so have decided to mark the solution as complete since the steps you outlined would have worked had this option not been available to me.


Thanks again for your help, and apologies for the delay in replying!


Chris
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question