cnl83
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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
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).
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.
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.
ASKER
It says edit is not available because checkpoints exist for this virtual machine. Can I just delete the checkpoint?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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.
File: \boot\bcd\
status 0xc000014c
the boot configurationd ata for your pc is missing or contains errors.
ASKER
thats all I did was click snapshot
ASKER
Im sorry checkpoint! not snapshot
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks for everyone's help. I deleted the checkpoint, then compacted the disk and it freed up 120GB!
ASKER