Solved

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

Posted on 2011-09-21
6
2,870 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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 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 118
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 3

Author Comment

by:chris2506
ID: 36574211
Thanks, I'm just looking through the documentation now and will post back!
0
 
LVL 118
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now