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.
cnl83Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.
0
cnl83Author Commented:
Am I going to lose any data?
0
CESNetwork AdministratorCommented:
You could run TreeSize on the host server to see where space is being consumed and then delete unnecessary files:

https://www.jam-software.com/freeware/

You could also run CCleaner if you still trust it
0
Acronis Data Cloud 7.8 Enhances Cyber Protection

A closer look at five essential enhancements that benefit end-users and help MSPs take their cloud data protection business further.

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).
0
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.
0
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.
0
cnl83Author Commented:
It says edit is not available because checkpoints exist for this virtual machine. Can I just delete the checkpoint?
0
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).
0
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.
0
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.
0
cnl83Author Commented:
thats all I did was click snapshot
0
cnl83Author Commented:
Im sorry checkpoint! not snapshot
0
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.
0
cnl83Author Commented:
I deleted the checkpoint and it started normally. So I just need to compact that disk right?
0
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).
0
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!
0

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!
0
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
Virtualization

From novice to tech pro — start learning today.