[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Virtual server 2005 VHD file keeps growing in size

Posted on 2005-05-09
6
Medium Priority
?
1,043 Views
Last Modified: 2013-11-15
I have a Windows 2003 server (Dual Xeon 3Ghz - 2GB MEM), which is running Virtual Server 2005.
I have 5 guest OS and recently I have had a big problem with one of them.

The guest OS is a Windows 2003 standard runnning Sharepoint Portal Server 2003 with the latest patches applied.
The guest OS is configured to use a virtual hd with a Maximum size of 8GB, if I check the status in the guest OS 4GB of the 8GB is used.

My problem is that the vhd file has grown to 51GB and it seems to keep growing.
What can I do to shrink this file? It shouldnt be able to grow past 8GB, but somehow it found a way to do it.

Any help appreciated!

Thanks
0
Comment
Question by:Grodel
  • 2
3 Comments
 
LVL 85

Expert Comment

by:oBdA
ID: 13967001
Try to compact the hard disk; the necessary steps are described in the Virtual Server help. You might want to make a regular backup of your guest OS setup, just in case (copying the 50G is probably out of question ...)
Open the "Master Status" page, then click the "?" button in the upper right corner. In the Help window, choose "All Topics" in the top row, expand "Work with Virtual Disks", expand "Manage Virtual Disks", choose "Compact a virtual hard disk".
0
 
LVL 1

Author Comment

by:Grodel
ID: 13967268
Thats a good tip, however it seems its too late for that.
I get a message that there is not enough free space to perform the operation.
I tried this first time when the VHD file was at 35GB.

Do you think I could somehow move the 50G file to a bigger physical garddrive not located in the server and somehow perform the operation?
Or will I have to install VS2005 in order to do this?

Thanks!
0
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 13967473
Certainly worth a try; you'll probably have to install VS on the "compact" server as well, as I don't think VS will handle disk files residing on a network share; not to mention that it would probably be rather slow.
Another possibility might be to use Symantec's Ghost or something similar; create a bootdisk and boot the virtual machine with it, write the disk to a network share, then create a fresh harddisk, and restore the image with the boot disk (did that successfully when testing something else; network throughput is rather slow, but it works).
Or backup whatever's necessary and recreate the server.
As usual, it all depends on what suits your situation best ...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

834 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