Avatar of cgeorgeisaac
cgeorgeisaac
Flag for United States of America asked on

HD Clean up in VM

I have been tasked to clean up and make more space in a VM. See attachment.
It is a Win 2008 R2 and I have done the normal stuff like cleaning/deleting temp files, compression, removing unused profiles, etc.
 I was wondering if  I can reduce the .vswp (swap files) since there are 2.  Any other advise will be appreciated.
Thanks.
SwapFile.docx
VMware

Avatar of undefined
Last Comment
cgeorgeisaac

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Are you trying to save space inside the VM, or outside of the VM ?

currently you are looking outside of the VM, on he Hypervisor datastore.

As for the vSWP files, these are part of the hypervisor design, and are created when the VM is powered ON, they are removed then the VM is off, you cannot remove them!

They are used, when the hypervisor, starts to run out of memory for the VM, and starts to swap to disk.

If you wish to reduce the sizes on the VMFS datastore, you can specify memory reservations, but be warned if you start messing with reservations, you will affect the performance of the VM, by restricting memory in the VM. or ring fencing resources for the VM.

So are you trying to save space on the VMFS datastore or inside the VM OS partition?
cgeorgeisaac

ASKER
Thanks for your quick response.  I want to save space INSIDE the VM OS partition.
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
cgeorgeisaac

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

that seems an okay article, at removing files in the VM....

Are you short of space in the VM ?

what are you trying to achieve ?
Your help has saved me hundreds of hours of internet surfing.
fblack61
cgeorgeisaac

ASKER
Yes short on space in the VM and the Storage too does not have much space.  This being a developer's  VM I really need to make some space (without deleting any programs)..  Would V2V conversion help or Resizing help?   If so, would appreciate the specific steps please.
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
cgeorgeisaac

ASKER
Helpful links