OK, I see now what you mean by VMware Cleanup Disks. Anyway, the end results is the same, no space on the disk is freed up.
I use splitted disks all the time and Compacting works. Obviously, I don't know about possible bugs in later versions.
Original Message:
Sent: May 12, 2025 07:59 AM
From: Gabor Kormos
Subject: Help with Clean Up Disks… not working in VMware
You're misunderstanding/not knowing (as I did not know either), that the VM's right-click menu also has a "Clean Up Disks..." menu item under Manager, which is not the Windows' "Disk Clean-up" utility. "Clean Up Disks..." is what is showing reclaimable space, but does not reclaim space. I thought VMWare can't compact split VMDKs, only single file disks, but you claim it can. Directory listing does not show snapshosts, so I'm out of ideas.
Original Message:
Sent: May 11, 2025 11:24 AM
From: RaSystemlord
Subject: Help with Clean Up Disks… not working in VMware
As for cleaning disks - I already gave a rather comprehensive answer what to do. There is no Windows software that can ever anticipate all that I suggested. And it has nothing to do with VMware - it is about Windows. And it has nothing (directly( to do with freeing up space on the physical disk.
As for .vmdk-file, it is an ASCII file. I pretty much doubt that it is corrupted as a file. If it has wrong information, most likely VM doesn't open at all.
In all cases, wrong information in .vmdk does not cause copying VM computer to fail. Nothing that you have said will. There are three basic reasons for copying to fail:
- you are allocating some VM computer files by keeping the GUI in VMware Pro open for that VM (I take it that you are not trying to copy when the actual VM is open)
- your target is bad
- you are trying to use Windows GUI when there is something wrong in the workflow (like bad networking or bad USB or whatever). You need to use robocopy for a reliable copying (basic example from Command Prompt: "robocopy /e /v /Z c:\VMs\MyVM1\ d:\backup\VMs\" ... where the directories are example and assuming that your target doesn't have MyVM1 for some other VM. As such, there are many other uses and possibilities for robocopy
Original Message:
Sent: May 11, 2025 11:00 AM
From: Einar Flaathe
Subject: Help with Clean Up Disks… not working in VMware
The Word-document appears truncated - only when viewed on Google Drive.
When downloaded it isn't truncated!
Thank for all advice!
But is there no software that can fix problems with: Clean Up Disks... not working?
I have had to do what I did this time, one time before - then it was pretty obvious that the WMDK file was in error!
With problems appearing when coping file in the virtual machine itself.
Original Message:
Sent: May 10, 2025 02:54 PM
From: Einar104
Subject: Help with Clean Up Disks… not working in VMware
Here is a link to a text-document: INFO-S-1.TXT
https://drive.google.com/file/d/1TxFKlefMbhXsMAmy-riRDF2wEy1JC7-t/view?usp=sharing
This is the - "screenshot" showing all files in the VM's folder, including their size, while the VM is running - part of INFO.docx file.
Original Message:
Sent: May 10, 2025 07:13 AM
From: Einar104
Subject: Help with Clean Up Disks… not working in VMware
I don't think disk space is an issue. The virtual machine is on a 4TB SSD drive by itself.
Here is the link to the word-document: INFO.docx
https://docs.google.com/document/d/1AqetCyyeRFo8xkVu8wYV-RFB8JoNLKjJ/edit?usp=sharing&ouid=109296553659839726067&rtpof=true&sd=true
Original Message:
Sent: May 09, 2025 04:47 PM
From: Morc001
Subject: Help with Clean Up Disks… not working in VMware
I see no file attached to this thread or your post, but I'm not Broadcom employee either, so maybe the public can't see such files. You can upload the file to Google Drive, or OneDrive and share that and copy the link to it, maybe.
OK, I checked what this "Clean Up Disks..." thing is and realized that it's the same thing as compact. Compact can only compact your disk if there's at least as much free space on the host drive where the disk resides as much actual space is used by the VM, because the clean up process will "clone" the disk first by removing the unused parts, then deletes the original file and renames the new to the old. So if you have 2TB free space and the VM uses more than 1TB disk space actually, then you'll not be able to compact (clean up) the VM's disk.
Original Message:
Sent: May 09, 2025 08:08 AM
From: Einar104
Subject: Help with Clean Up Disks… not working in VMware
I have uploaded a word-document INFO.docx with the following indormation.
Showing problem with Manage > Clean Up Disks…
All WMDK files at the time of problem! Problem WMDK in red
Free RAM on the host before the VM starts up
RAM allocated to the VM
"screenshot" showing all files in the VM's folder, including their size, while the VM is running.
Data on virtual disks, what the Windows guest shows.
Original Message:
Sent: May 08, 2025 05:03 PM
From: Morc001
Subject: Help with Clean Up Disks… not working in VMware
Windows "Disk Clean-up" will not fix your problem with virtual disks, nor will chkdsk or any host disk cleanup/fixing utility, unless the host is crashing while the VM is running, or the storage has some issues and data loss occures. Please upload a screenshot of the folder showing all files in the VM's folder, including their size, while the VM is running! The "Details" view should do that nicely. And how much data you have on those virtual disks, what the Windows guest shows? How much RAM is allocated to the VM, and how much RAM is free on the host before the VM starts up?
Original Message:
Sent: May 08, 2025 03:35 PM
From: Einar104
Subject: Help with Clean Up Disks… not working in VMware
My Host and Guest OS are both Windows 10 Pro.
My Guest OS consists of 5 virtual disks.
I am using VMware Workstation 17 Pro version17.6.3 build-24583834
Clean Up Disk was stuck on - Reclaimable space: 554.4 GB
Never getting - Cleanup is not necessary
At that point - Disk space used by the virtual machine was: 1.7 TB
Does anyone know of software that can repair corrupt VMDK files?
I have only found software that can check for errors and recover data
from damaged VMDK files.
In lieu of such software I fixed my problem as follows.
After some research I found that the problem with Clean Up Disk not working had to do with:
Hard Disk 2 (NMVe) 2 TB (in Virtual Machine Settings) - Current Size 1.2 TB, and
In Windows Properties (in the Guest OS) the Used space was only 636 GB.
I then Removed Hard Disk 2 (in Virtual Machine Settings), and
moved the associated VMDK files to a temporary folder.
After this Clean Up Disk yielded:
Disk space used by this virtual machine: 551,4 GB
- CLEANUP IS NOT NECESSARY
Then after adding a NEW virtual disk and another using an EXISTING virtual disk
- i.e. the VMDK files that I had moved to a temporary folder.
I booted the Guest OS, and after some Disk Management, I copied everything
from my old to my new disk volume.
Finally after shutting down the Guest OS I removed the EXISTING virtual disk.
Now Clean Up Disk yielded:
Disk space used by this virtual machine: 1.2 GB
- Reclaimable space 64 KB
NOT - Cleanup is not necessary
but OK!
Size in Virtual Machine Settings reduced from 1.7 TB to 1.2 TB i.e. by 0.5 TB
Size on disk reduced from 1,70 TB to 1.15 TB i.e. by 0.55 TB
With my Guest OS running I have:
1)
Run CHKDSK on all disk volumes with the following switches: /F /R
a.
After system restart, when running CHKDSK C: /F /R
Windows has made corrections to the file system.
No further action is required.
b.
And when running CHKDSK on ALL the other disk volumes
Windows has scanned the file system and found no problems.
No further action is required.
c.
And all ended with: 0 KB in bad sectors.
.
My Hard Disk 2 (NMVe) 2 TB has Drive Letter E:\
2)
Run Windows Disk Cleanup on ALL disk volumes
a.
On all disk volumes, except C:\
You don't need to scan this drive.
b.
Disk Clean Up for WinOS (C:)
Total amount of disk soace you gain 4.16 GB
c.
I have also in Virtual Machine Settings Defragmented and Compacted ALL virtual drives.
.
But none of these actions remedied my problem.