VMware vSphere

 View Only
  • 1.  .vswp for VM is missing

    Posted Jul 23, 2024 09:50 AM

    Hi,

    after shutting down a VM, the VM can not be startet again. Error message: "Unable to enumerate all disks". After digging in the logfiles I found that there is a link inside the vmx file to a vswp file, which does not exist any more. The corresponding vswp.args and hlog files with the same numbering scheme do exist. An older vswp does exits.

    Any idea how to recreate the vswp file? Or is it possible to modify the entry in the vmx file, so that no vswp file is configured?

    Any help is appreciated.

    Thank you,

    Matthias 



  • 2.  RE: .vswp for VM is missing

    Posted Jul 23, 2024 03:30 PM

    >>> Error message: "Unable to enumerate all disks"

    This message is usually related to virtual disk (.vmdk) files. Please check whether all related .vmdk files are present.
    Please remember that virtual disk files come in pairs, i.e. a small descriptor file, and a large data file.

    André




  • 3.  RE: .vswp for VM is missing

    Broadcom Employee
    Posted Jul 24, 2024 06:16 AM

    If your system has more memory you can configure a VM with memory reservation size == VM memory size ,   and power on VM this will create zero size swap file (  <VM-NAME>.vswp ).

    Generally restarting VM should recreate VM swap file  as per VMX  swap file settings.

    P.S   https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-B55F4F6B-44E6-46DE-B8FF-75950020A181.html for  details.