ESXi

 View Only
  • 1.  Failed to lock the file

    Posted Oct 30, 2021 08:40 PM

    Hi All

    I am unable to poweron one Windows Virtual Machine i am getting error. Failed to lock the file.
    The server was having snapshots which i have also deleted. i have migrated the VM from one host to another host. I can see the message Virtual machine disks consolidation is needed. i have also clicked Consolidate but no luck, experts guide me.



  • 2.  RE: Failed to lock the file

    Posted Oct 30, 2021 08:45 PM

    One reason could be a backup server/backup proxy, which still has the VM's disk attached due to e.g. a failed backup.

    André



  • 3.  RE: Failed to lock the file
    Best Answer

    Posted Oct 31, 2021 08:04 AM

    Hi,

    check the directory for that VM if it still does contain a *.lck file.

    This might be a stale file which could be deleted if you did check your environment that no other system or process actively uses that VM/vmdk

     

    Regards,

    Ralf