Hyper-V Program Manager
Yesterday I showed you how to easily convert a dynamically expanding virtual hard disk to a fixed size virtual hard disk. But, how do you do this if you want to keep your fixed size virtual hard disk as small as possible? Well, here is the process that I use for my Windows Server 2008 R2 virtual machines:
Once this is all complete, and once you have confirmed that the virtual machine is working properly, you can delete the dynamically expanding disk and the backup.
I think there is a simplier way to achieve this:
1. Create fixed VHD with proper size
2. Download LiveCD with partition cloning tool (gparted for example, or acronis, wich is more user friendly, but not free).
3. Shutdown VM
4. Attach second VHD you created in step 1
5. Boot VM from LiveCD and copy patrition from 1st disk to 2nd with the tool you prefer
6. Detach 1st dynamic VHD and LiveCd
7. Power on VM with new fixed VHD.
It should be much faster then creating/restoring backup, and guarantee no data loss (if you use backup the data can change right after backup has finished and before you shutdown VM).
PS Sorry for bad english.
And, using dosk cloning tool allows you to change the size of partition anyway, while shrinking often does not work, because of previously written sectors in the end of disk.
Whenever possible I try to work with supported Microsoft tools. Sooner or later I am going have a Microsoft developer looking at one of my virtual machines - so I want to make sure that everything is completely "above the board".
I'm just curious how you. Puls shrink from 250gb to 70gb.
Whenever i triest this with win2008r2 in the past i only could reisze it to the half...
I tried defragment it which didn't work only Solution there was 3rdparty sw
Or is there a hidden switch to get Disks smaller?
Is this method supported on domain controllers?