Solved

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

Posted on 2009-05-08
9
1,344 Views
Last Modified: 2013-11-06
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
Comment
Question by:wessir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 22

Expert Comment

by:Syed Mutahir Ali
ID: 24341200
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
 

Author Comment

by:wessir
ID: 24346829
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
 
LVL 22

Expert Comment

by:Syed Mutahir Ali
ID: 24347476
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:wessir
ID: 24348893
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
 
LVL 22

Expert Comment

by:Syed Mutahir Ali
ID: 24349171
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
 

Author Comment

by:wessir
ID: 24349188
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
 
LVL 22

Accepted Solution

by:
Syed Mutahir Ali earned 500 total points
ID: 24349327
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
 

Author Closing Comment

by:wessir
ID: 31579676
That works
0
 
LVL 1

Expert Comment

by:DavidBloom
ID: 24795313
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Windows 2012 is here - it is upon us, and I hope that like me, you will upgrade your Hyper-V to the new version which has been promised to be a lot more stable, flexible and powerful than its predecessor in Windows 2008 R2.  Setting up…
Few best practices specific to Network Configurations to be considered while deploying a Hyper-V infrastructure. It may not be the full list, but this could be a base line. Dedicated Network: Always consider dedicated network/VLAN for Hyper-V…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question