Hyper-V Program Manager
I recently was setting up a Home Server on top of Hyper-V (Note: this is not a supported configuration, so if you wish to do the same - be it on your head) and had to decide between using physical disks directly attached to the virtual machine, or using fixed size virtual hard disks. I had 5 SATA disks that I wanted to connect to the Home Server - and in the end I decided to use fixed size virtual hard disks where each physical disk had a single fixed size virtual hard disk that took up all the space available.
There were a number of things that I considered before coming to this decision:
Hope this helps you when you are faced with similar decisions.
I have always been wondering if it is possible to run Home Server under Hyper-V. This is really my preferred setup as a Home Server normally is very under utilized and I would like to have another OS for maybe a mail and web server running in parallell.
I know this isn't supported, so therefor I have never really tried it. But since you are perhaps you could shed some light on what problems you found so far?
Do you have any problems with the dynamic storage in HS?
I have a doubt on the efficience of the way Hyper-V creates empty fixed virtual disks. Instead of create a big file of 'n' gigabytes it starts with a little file and make it grow by steps of 256 KB until the desired size.
So, I did a test: From the SCVMM server, using two Powershell consoles, I launched simultaneously two command to create 2 fixed virtual disks...
The result is what I guessed: the VHD files are fragmented...
When you make a P2V from a physical machine, Hyper-V creates immediatly a big VHD file and then starts to transfer data in it.
Why does Hyper-V create empty VHD fixed files this way ? Why is it different with P2V ?
Thanks for any help.
Niclas Lindgren -
I have had no problems whatsoever with this configuration.
I've already checked the blog about the time it takes to create a fixed disk...
My question is not "why it takes time" but it is "why the VHD file starts with a 0 bytes size and grow until the 10 GB desired size"...
Why not create a 10 GB file and they fill it with zeros ?
Making the file grow until the desired size will result in fragmented file if there is another writing on the same physical disk at the same time.
If you reproduce the test I explained in my previous message you will see with your own eyes that the two VHD files are fragmented. They look like interlaced.
Just stumbled upon this by googling - thanks for sharing the considerations, I'll follow suit when creating my setup.