Hyper V Pause - Critical Disk Space Issue

I have a major time sensitive issue. I need to get this server online so they can work until later today I can provide a more permanent fix. The Main server 2012 has 25 GB free. When I start the vmachine it goes down to like 30MB. I moved files from the virtual machine to free 25 GB of space but that didn't effect the numbers on the main server.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
You have to compact the VHD.
cnl83Author Commented:
Am I going to lose any data?
CESNetwork AdministratorCommented:
You could run TreeSize on the host server to see where space is being consumed and then delete unnecessary files:


You could also run CCleaner if you still trust it
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Lee W, MVPTechnology and Business Process AdvisorCommented:
Go to the Settings of the VM in HyperV Manager, go to the VHD(x) in question (state MUST be off, not saved!)  Click on Edit and then follow the wizard to Compact (this will take some time, but if memory serves USUALLY not more and 15-30 minutes, though clearly it depends on the size and type of the disk).
cnl83Author Commented:
The vmachine is the only thing on that drive. Funny thing is that when I look at the properties it shows the flies are 420gb but the drive itself shows 446GB used.
Lee W, MVPTechnology and Business Process AdvisorCommented:
You shouldn't, but that's why you have backups, RIGHT?

The process doesn't normally lose data, but you're mucking around with disks (virtual or otherwise) - it's unwise not to be prepared for the POSSIBILITY that something goes wrong.
cnl83Author Commented:
It says edit is not available because checkpoints exist for this virtual machine. Can I just delete the checkpoint?
Lee W, MVPTechnology and Business Process AdvisorCommented:
Once you get it running, go to Disk Manager of the VM and shrink the partition used so that it's at least 10% smaller than the total physical space.  This should prevent the dynamic VHD from growing to a point that this happens.  Then, get yourself new drives and you can expand the partition and (if necessary) the VHD.  (because of the way things get written to disk, the VHD can, at times, grow and be much larger than the actual size used.  By limiting partition size, you should be preventing that (I've done this with long term success on a number of systems).
Lee W, MVPTechnology and Business Process AdvisorCommented:
Yes, WHY are you using Checkpoints?!  No Production server should use Checkpoints!  Stop!

That said, I ALWAYS get paranoid about checkpoints.  I would try to Export the VM to another drive as a backup JUST TO BE SAFE.  But Deleting should do the trick *if* I remember correctly.
cnl83Author Commented:
Now I got a major problem. I clicked snapshot to see if there was a dialog for snapshots. I tried to start the machine to see if I can backup an sql file but it says windows failed to start a

File: \boot\bcd\
status 0xc000014c
the boot configurationd ata for your pc is missing or contains errors.
cnl83Author Commented:
thats all I did was click snapshot
cnl83Author Commented:
Im sorry checkpoint! not snapshot
Tom CieslikIT EngineerCommented:
You can't just delete checkpoint. You must stop server to do it first, then you can delete. If you delete you can loose part of information so server will not start anymore.

I hope you have everyday backup so you can recover from. If not then is going to be problem for you.
cnl83Author Commented:
I deleted the checkpoint and it started normally. So I just need to compact that disk right?
Lee W, MVPTechnology and Business Process AdvisorCommented:
I'm not sure about a saved/paused-Critical situation, HOWEVER, in 2012 R2 and later you can delete checkpoints while the VM is running (merger takes longer).
Lee W, MVPTechnology and Business Process AdvisorCommented:
Compact, yes but you'll need to shutdown the VM first.  And Again, I always prefer erring on the side of caution - BACKUP FIRST!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cnl83Author Commented:
Thanks for everyone's help. I deleted the checkpoint, then compacted the disk and it freed up 120GB!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.