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

x
?
Solved

VHD constantly growing in size

Posted on 2014-03-04
3
Medium Priority
?
376 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
3 Comments
 
LVL 59

Accepted Solution

by:
Cliff Galiher earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A look into Log Analysis and Effective Critical Alerting.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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.
Suggested Courses

971 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