Link to home
Start Free TrialLog in
Avatar of ajdratch
ajdratch

asked on

HyperV guest shows full pyhsical drive space

I just realized I have one hyperv guest that shows the entire physical drive. I suspect this has something to do with StorageCraft failing.

The other VM shows only the amount of space I allocated to it.

This is 2012 R2 Hyper-v

Why is it showing all the space and how do I fix it?
Avatar of Brad Held
Brad Held
Flag of United States of America image

Was the drive created as a dynamic disk? By default the disk is created with 127GB dynamic disk, but I have seen some vm's that were created by hardware vendors that were dynamic to 2TB.

The vm will show its disk size as 127GB but the host OS will only show what is actually used.
The only way to correct that would be to convert to Fixed disk
Avatar of ajdratch
ajdratch

ASKER

It is showing 2 TB which is what is on the host machine. how can I change that now?
You would have to convert to Physical which would require at least 2 TB of free space to do.
Unfortunately it would probably be easier to recreate the vm then to convert it.

http://technet.microsoft.com/en-us/library/ee941151(v=ws.10).aspx
Avatar of Lee W, MVP
Can you post a screen shot where you're seeing this?

Guests will see the full allotted space in the VHD(x) file.  The VHD(x) file will take up EITHER only what's needed (but never shrink on their own) if it's Dynamic OR it will take up the entire size specified (if it's fixed).  Fixed can provide better performance, by Dynamic can be more flexible.  I tend to use dynamic and place VHD(x) files on separate partitions to prevent fragmentation.
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hate to have to admit my own stupidity on this one. I meant to configure this VM with a 700GB  drive, I configured it for 7,000GB (7TB)
I was able to shrink it by editing the disk in Hyper-v manager