Link to home
Create AccountLog in
Avatar of cnl83
cnl83Flag for United States of America

asked on

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.
SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of cnl83

ASKER

Am I going to lose any data?
Avatar of CES
CES

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
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).
Avatar of cnl83

ASKER

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.
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.
Avatar of cnl83

ASKER

It says edit is not available because checkpoints exist for this virtual machine. Can I just delete the checkpoint?
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of cnl83

ASKER

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.
Avatar of cnl83

ASKER

thats all I did was click snapshot
Avatar of cnl83

ASKER

Im sorry checkpoint! not snapshot
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of cnl83

ASKER

I deleted the checkpoint and it started normally. So I just need to compact that disk right?
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).
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of cnl83

ASKER

Thanks for everyone's help. I deleted the checkpoint, then compacted the disk and it freed up 120GB!