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?
Virtualization

Avatar of undefined
Last Comment
ajdratch

8/22/2022 - Mon
Brad Held

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
ajdratch

ASKER
It is showing 2 TB which is what is on the host machine. how can I change that now?
Brad Held

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
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
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
Mahesh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ajdratch

ASKER
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