VMware Cloud Community
SLtech
Contributor
Contributor
Jump to solution

Unable to Delete Snapshot or Consolidate Disks Esxi 6.5 - Unable to access file since it is locked

Trying to Consolidate Disk or delete snap shots to be able to convert VMware to Hyper V. Have already done this with a different VM on the same Esxi Host and worked correctly.

Getting error:

Failed - Unable to access file since it is locked

Errors:   An error occurred while consolidating disks: One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot.

&

Remove all the snapshots associated with this virtual machine

Failed - A general system error occurred: vim.fault.GenericVmConfigFault

What I've tried so far:

Restarting ESXI host, services, making a copy of the VM and attempting on the copy. I can create a new Snapshot fine, but I am not able to delete the newly created snapshot. I do not have another Esxi Host to try migrating too. I do not have access to the former backup software the company used. The VM does work fine and I do have a backup. Unable to recreate the VM as it has Windows Server 2003 with customized software and limited support.

Software being used to convert: 5nine Vmware to Hyperv, errors saying their are snapshots on the VM.

Any help would be appreciated.

Reply
0 Kudos
1 Solution

Accepted Solutions
SLtech
Contributor
Contributor
Jump to solution

Ended up using Vmware converter to VMWARE to VMWARE converter and seemed to flatten all snapshots.

How to fix “A general system error occurred: vim.fault.GenericVmConfigFault” When creating or Removi...

View solution in original post

Reply
0 Kudos
2 Replies
a_p_
Leadership
Leadership
Jump to solution

As a first step, please provide some details:

  • how much free disk space do you have on the datastore?
  • attach the VM's vmware.log file to a reply post.
  • post a complete list of files in the VM's folder (i.e. the output of: ls -lisa)

André

Reply
0 Kudos
SLtech
Contributor
Contributor
Jump to solution

Ended up using Vmware converter to VMWARE to VMWARE converter and seemed to flatten all snapshots.

How to fix “A general system error occurred: vim.fault.GenericVmConfigFault” When creating or Removi...

Reply
0 Kudos