If a host fails, and that host had running virtual machines that were using swap files, those swap files continue to exist and consume many gigabytes of disk space. You can delete the swap files to eliminate this problem.

Before you begin

Launch the vSphere Client and log in to a vCenter Server system or an ESXi host.

Procedure

  1. Restart the virtual machine that was on the host that failed.
  2. Stop the virtual machine.

Results

The swap file for the virtual machine is deleted.