After some struggle, I finally managed to set up Hyper-V 2008 R2 on our server. So I connected to it using the Hyper-V Manager from a Windows 7 client and used the "New Virtual Machine Wizard". I set up a 350GB virtual hard disk.
So I hit the "finish" button and the Hyper-V manager has been working for > 24hours now, showing merely a dialog "Creating Disk". A console on the Hyper-V still reports 99.9% free space on the HD, but the machines HD LED flashes from time to time (making a rather idle impression, it's not flashing frenetically).
Does this usually take this long? Is there a way to find out whether it's still working or just idling? Should I repeat the process? Guides on the net tell me to be patient, but >1d seems a bit extreme!?
The "New Virtual Machine Wizard" sets up dynamically expanding disks by default. Setting up a dynamically expanding disk takes no more than a second, which is what I found after aborting the process and rebooting both client and server.
I haven't tried setting up a fixed disk, but I doubt it takes 1h for 0.5GB - that'd make it totally worthless because setup times would be in the range of several months. Did you mean 0.5TB, Chris S?
It seems the Hyper-V manager that ran for days was simply hanging. In general, the Hyper-V Manager is an extremely unstable piece of software, often leaving (modal) dialogs open that cannot be closed by any means other than killing
mmc.exe
.s the storage directly attached to the server? I had cases where I had storage to create fixed size vhd's on either a NAS or a SAN, and in particular on NAS (which had a non-windows native OS) it took very looooong as well. I always waited, and usually the process always finished succesfully.
Good luck!
I used VhdTool to quickly create a virtual disk of the correct size and then just used Hyper-V to create the machine and reference the blank VHD file. From there you can insert your OS installation media and start the machine. This was a lot faster than the seemingly never ending "Creating disk..." method that Hyper-V offers.
You can download the tool and get instructions here: http://archive.msdn.microsoft.com/vhdtool
e.g. at the cmd prompt:
VhdTool.exe /create "Clean10Gb.vhd" 10737418240
They do say only to do it with servers you trust because there is a security implication in not zeroing out all the underlying data on the hard drive.
Ok, I see this issue if you try it from non-domain HyperV host --> Creating VM on Domain HyperV host (with using the storage on domain host). Once I tried same steps going from 1 host and using it's own storage creation took seconds. Possible solution: use hyperv manager of that host, where you want to place the VM on.