VMware Communities
patjdixon
Contributor
Contributor

Can I clean up my vmdk files?

I have a tons of vmdk files going back 3 years on my hard disk.  I presume these are snapshot files.  I do not need to preserve snapshots of my machine state.  Some of these files are several gb.  Can I clean up these files and get back some disk space?

Screen Shot 2019-05-19 at 6.23.54 PM.png

Screen Shot 2019-05-19 at 6.24.51 PM.png

0 Kudos
3 Replies
continuum
Immortal
Immortal

Open your vmx-file in a texteditor and check which vmdk is assigned at the moment.

If name-000001.vmdk is assigned you can not delete the name-000001-s00*.vmdk files.
But you can delete the snapshot using snapshot-manager.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

wila
Immortal
Immortal

Hi,

I see Ulli replied now already, I tried to reply this morning, but the forum software refused to post the answer.

Here it is, perhaps it still helps a bit.

The <vmname>-000001-<sliceNN>.vmdk files are indeed snapshot files.

You have 1 snapshot, consisting of up to 32 disk slices.

Note that if you try to delete any of those files in Finder, you _will_ break your VM and are taking a real risk in having severe data loss.

You don't really mention that these files are all from the same VM, but in case they are the following advice applies.

Also you didn't mention the size of your virtual disk, but if your virtual disk is under 640GB in size and you have about 30 GB of free disk space then you can safely commit the open snapshot via the snapshot manager in VMware Fusion.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
wila
Immortal
Immortal

Hi,

One more note...

If the snapshot manager does not show the snapshots from your screenshot then there's another easy way to commit those.

In that case shut down the virtual machine and go to menu:

- Virtual Machines

- Settings

- General

- Click the "Clean Up Virtual Machine" button

This will consolidate all snapshots that are missing from the snapshot manager and reclaim space from your virtual disk(s) of your Windows virtual machine.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos