Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1367
  • Last Modified:

Dynamically Expanded Disks in Hyper-V don't show in VM Disk Management as new expanded size?

I have a dynamic vhd that has expanded to 47gb according to Hyper-V disk inspect but in the vm disk management and explorer the disk is still full and reporting 40gb.  Why isn't it reporting the new size?  I restarted the vm but no difference.
0
wessir
Asked:
wessir
  • 4
  • 4
1 Solution
 
Syed Mutahir AliTechnology ConsultantCommented:
Because its a Dynamic Disk it will expand when in operation, you might have specified 40GB at the time of creation and thus it will expand accordingly but will report 40GB.

You can read about it here :

http://www.virtuatopia.com/index.php/Creating_and_Configuring_Hyper-V_Virtual_Hard_Disks_(VHDs)

Their are performance issues as well as compared to fixed vhds which tend to perform better then dynamic.

http://blogs.technet.com/virtualization/archive/2008/09/19/Hyper_2D00_V_3A00_-Dynamic-versus-Fixed-VHD-Performance.aspx

Hope this helps
0
 
wessirAuthor Commented:
Those are great links - helped me out some but I guess I'm not clear on exactly why the disk doesn't report more than 40gb (and is full) even though the hyper-v disk inspection shows 47gb.  Is it correct to say it is a 'bug'? - because of the initial windows vm client install said basic disk 40gb? Is there a workaround to get the vm client to recognize the additional space?
0
 
Syed Mutahir AliTechnology ConsultantCommented:
Hi,

Did you created a Dynamic Disk or a Fixed Disk when you were creating the VM ?

I once downloaded a Windows 2008 Server R2 VHD from Microsoft Website and it was something like 20GB but when I started it it was showing up as 127GB inside the VM.

I will look into it tomorrow again.

Hope this helps
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
wessirAuthor Commented:
I inherited the machine.  It was a dynamic vhd disk in hyper-v from the start, a 'basic' disk in the vm host (w2k3) which I then converted to a dynamic disk but that had no effect.
0
 
Syed Mutahir AliTechnology ConsultantCommented:
When you say a basic disk in the vmhost (w2k3) which you then converted into a dynamic disk ? What do you mean ? do you mean the Guest OS is Windows2K3 ?
Dynamic Disk will report the size it was created with when you check in Host Operating System ; It will however report the expanded size under the VM (My Computer).
 
0
 
wessirAuthor Commented:
Yes, that is what I mean. Guest OS is Windows2K3. Guest OS does not recognize the extra storage space so it can't use it. C: drive is still full.
0
 
Syed Mutahir AliTechnology ConsultantCommented:
http://4sysops.com/archives/free-vhd-resizer-shrink-or-expand-a-hyper-v-vhd/
Check the above link ; it has a tool VHD RESIZER ; Sure that will sort the problem out, I am not sure how you inheritted the VHD so this is all I can think off in your scenario.
 
Hope that helps
0
 
wessirAuthor Commented:
That works
0
 
DavidBloomCommented:
You missed one simple final step. The HyperV expanded disk space won't be recognized by your 2K3 guest OS until you extend it inside the OS: http://articles.techrepublic.com.com/5100-10878_11-5728477.html
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now