VMware Workstation

 View Only
  • 1.  Guest Disk Space Management

    Posted 12 days ago

    I configure guest disks as single file un-allocated.  Over a short period of time (a few months) the used disk space on the guest remains relatively constant but the physical space used by the guest increases by a considerable amount.   This occurs because of how the guest OS writes data to the disk.   It does not necessarily use free disk space at the beginning of the guest disk.   Instead it will tend to start at a point on the disk where it last left off thereby increasing the physical size even though there is free space within the existing allocation.    My question is how I can configure the guest OS (Windows, Linux, etc) to use any free space at the beginning of the virtual disk vs appending it on to the end causing the physical disk to grow unnecessarily?

    I now use the VMWare 'compact' virtual disk option to reduce the physical size of a guest disk.   But that is a time consuming process and it generates more wear on the NVME drive than I would like.



    -------------------------------------------


  • 2.  RE: Guest Disk Space Management

    Posted 11 days ago
    Edited by RaSystemlord 11 days ago

    Are you sure you don't have a Snapshot on your VM? If you do, nothing is ever deleted from the disk, just marked as deleted. Too free-up space, you would need to delete every Snapshot and then do Compact.

    Perhaps you don't, because you said that Compact worked - it wouldn't help the situation with Snapshots?