VHD constantly growing in size

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?
LuiLui77Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lee W, MVPTechnology and Business Process AdvisorCommented:
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
noxchoGlobal Support CoordinatorCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.