VMware server (free version) - how do I keep my hard drive file from growing?

I set up a Vmware server hard disk as a fixed 31 gigs (the file ending in –flat.vmdk). However, Vmware server keeps adding data to a second VMDK file:
“s2k3r2sps-000001.vmdk”, which is now up to 15 gigs. How do we keep this second file from growing or existing at all? The problem is we are running out of space on the physical host disk.

LVL 4
brokeMyLegBikingAsked:
Who is Participating?
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.

sda100Commented:
Hi there,

Can you post the contents of your .vmx file for that virtual machine, and also a directory listing of the folder where the .vmx file is.

Steve
0
brokeMyLegBikingAuthor Commented:
Here are the contents of Windows Server 2003 Standard Edition.vmx

The path is "F:\SharePoint Solutions"
( wish I could send a screenshot of all the files in the folder)


config.version = "8"
virtualHW.version = "4"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "2048"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "s2k3r2sps-000001.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "G:"
ide1:0.deviceType = "cdrom-raw"
floppy0.present = "FALSE"
Ethernet0.present = "TRUE"
displayName = "SharePoint Solutions"
guestOS = "winnetstandard"
priority.grabbed = "normal"
priority.ungrabbed = "normal"

scsi0:0.redo = ""
ide1:0.startConnected = "TRUE"
ethernet0.addressType = "generated"
uuid.location = "56 4d db 3a 92 66 6b 7f-4f 12 5f 63 6a ad c3 74"
uuid.bios = "56 4d db 3a 92 66 6b 7f-4f 12 5f 63 6a ad c3 74"
ide1:0.autodetect = "FALSE"
ethernet0.generatedAddress = "00:0c:29:ad:c3:74"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "FALSE"

checkpoint.vmState = ""
checkpoint.vmState.readOnly = "FALSE"

workingDir = "."
snapshot.protected = "TRUE"

annotation = "Moss and Project Server deployed together."
0
brokeMyLegBikingAuthor Commented:
Is this normal behavior or is my VMserver doing something weird?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

sda100Commented:
This is normal behaviour.  But I suspect this incarnation of the VMware image is a clone or a previous one, or a snapshot because of the name of the .vmdk file.  This is why I asked for a directory listing of the files.  From what I can see, I would say that the .vmdk files with a name like this (s2k3r2sps-*.vmdk) are the ones that will be in use currently.  Do you have any other .vmdk files that don't fit the above format?

Anyway, a VMware disk image will constantly grow as the contents of the file system change.  Even if you delete something, it will not get smaller.  The .vmdk file is like a catalogue of changes made to the file system, so it just keeps on growing.

You need to install and use VMware tools in the virtual machine.  One of the options it gives you is to "Shrink" the disk.  It will not work if you have any snapshots in place so you must delete them first, but it will shrink the VMware disk image down to pretty much it's real size, and start growing again from there.  It's a good idea to do this from time to time if you use a file-based .vmdk disk type.

The other option would be (or would have been) to use a fixed image file size, then the file of say... 10Gb will always be 10Gb regardless of how much or little data is in the VMware image.

I hope this helps,
Steve
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
brokeMyLegBikingAuthor Commented:
How do you delete a snapshot? Do you just delte the files off the disk? I don't see an option in VMserver console to delete snapshots.
0
sda100Commented:
I think the best way to move at this stage, is to create a standalone clone of your VMware image.  This will not carry over any previous or corrupt snapshots.  You should clone to a new directory, then see how much disk space the files take up.  Try this clone, and if it works (it should do), you can ditch the old image folder and continue with this one.
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
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.