Archive for the 'Virtualization' Category

 

 

Dec 13 2014

Why Compacting Hyper-v vhd Does Not Reduce Disk Size

Published by under Virtualization

You have freed up a lot of space on your hyper-v virtual machine and tried to compact the vhd file but no luck, it doesn’t shrink as much as it should. Here are a few things I tried to optimize disk space:– Defragmentation– Shrink volume from the VM disk manager– Defrag adding the vhd on another […]

No responses yet

Dec 04 2012

Hyper-v “error loading operating system” after running disk2vhd

Published by under Virtualization,Windows

Converting a physical Windows 2003 Server to a Hyper-v virtual machine with disk2vhd tool may throw the following generic error on a black screen on boot:  Needless to say Windows is not even starting.I tried to repair Windows with a 2003 server image, fixmbr, fixboot, and they all failed.The Master Boot Record needs to be […]

8 responses so far

Apr 19 2008

Xen Tips

Published by under Linux,Virtualization

Disabling Image Files Xen usually stores running domains in /var/lib/xen/save, causing a /var full on many systems when dom0 is shut down. Edit /etc/sysconfig/xendomains or /etc/default/xendomains and replace “XENDOMAINS_SAVE=/var/lib/xen/save” with “XENDOMAINS_SAVE=” This sends a shutdown signal to all virtual machines before dom0 reboots. A 300 second timeout is defined before killing an OS that hangs […]

No responses yet