?
Solved

VHD constantly growing in size

Posted on 2014-03-04
3
Medium Priority
?
369 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 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Suggested Courses

762 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