Solved

VHD constantly growing in size

Posted on 2014-03-04
3
363 Views
Last Modified: 2014-03-21
Hello,

I am currently running a Windows 7 virtual machine on my Windows Server 2008. The VHD resides in a LUN.

I have not performed any snapshots on this virtual machine. The VHD for the machine is constantly growing in size until the virtual machine turns into a critical state. I am constantly increasing the volume size to resolve this.

Is there a way to control this vhd from growing more?
0
Comment
Question by:LuiLui77
[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
3 Comments
 
LVL 58

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 39905029
In anything but the smallest test labs, you'd want to make the VHD a fixed size and larger than the sum of the partitions you defined in the VM. Then the VHD won't grow *at all.*  Dynamic VHDs are really only useful in test labs or in very very large datacenters where large SANs can dedup, defrag, and do other things that make thin provisioning make more sense.
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 39905471
Are you saying that when you look at the XP VM it's hard drive says it's using x GB but the the VHD is MUCH larger than that?
0
 
LVL 47

Expert Comment

by:noxcho
ID: 39905772
Check if you have Volume Shadow Copies enabled inside the virtual machine. Another possible reason could be Windows updates. How quick and in which amounts does it grow?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

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