VMware Cloud Community
chenrui39
Enthusiast
Enthusiast
Jump to solution

The virtual machine failed to start, prompting "File cannot be locked"

The virtual machine cannot be powered on or migrated. All prompted that the file could not be locked.

The following is the error message:

When you power on the virtual machine hnzy_om02, you receive an error from the ESX host.

Unable to start virtual machine.

Module Disk failed to power on.

Could not open the disk "/vmfs/volumes/571760cf-29b3014c-eb8a-0cc47a669ade/hnzy_om02/hnzy_om02-000001.vmdk" or one of the snapshot disks it depends on.

Failed to lock file

QQ图片20190429192057.png

Queryed the VMware.log found that the file "/vmfs/volumes/571760cf-29b3014c-eb8a-0cc47a669ade/hnzy_om02/hnzy_om02-000001.vmdk" is locked

QQ图片20190429200712.png

The mac address of the locker was not found by the "

vmkfstools -D /vmfs/volumes/571760cf-29b3014c-eb8a-0cc47a669ade/hnzy_om02/hnzy_om02-000001.vmd

k" command.

Has anyone encountered the same problem?

Reply
0 Kudos
1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

Do you use any automatic backup tools like Veeam ?
If yes - check the log-files of that tool - it may still have the snapshot mounted.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

Reply
0 Kudos
2 Replies
sjesse
Leadership
Leadership
Jump to solution

Are there any snapshots on that vm? If so I'd try removing all snapshots if that's possible

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Do you use any automatic backup tools like Veeam ?
If yes - check the log-files of that tool - it may still have the snapshot mounted.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos