An error occurred while consolidating disks msg fileio lock
Once confirmed I placed the host in maintenance mode, DRS v Motioned all VMs to another host in the cluster and restarted the hostd service.Consolidate on the VM and it completed successfully.Any advice on how to track down why, so that we can fix it? Here is some info from hostd.log: 2016-07-21T.847Z [52E80B70 info 'Vimsvc.
We have been trialing Dell Rapid-Recovery for ESXi backups, and occasionally experience consolidation failures.
It did…at least just this particular problem VM in the backup job. I next went into the Datastore this problem VM was on & looked at the VM’s directory. (hence why I received a notification this problem VM needed consolidated) Well, I couldn’t consolidate as noted above due to a file lock, so to try to remove the lock I attempted a VMotion of this problem VM.
I then specifically looked at the error for this VM in the backup job (“Error: Failed to open VDDK disk datastore-name] VM-directory/VM-name-000014.vmdk] ( is read-only mode – [true] ) Failed to open virtual disk Logon attempt with parameters [VC/ESX: [vcenter-name]; Port: 443; Login: [domain\user]; VMX Spec: [moref=vm-101]; Snapshot mor: [snapshot-17944]; Transports: [nbd]; Read Only: [true failed because of the following errors: Failed to open disk for read. v Center again returned an error: This was better information because it let me know the explicit disk (the parent vmdk & not any of its subsequent deltas) that was locked.Those 12 digits represent a MAC Address and that is the key.That MAC Address represents the MAC of a network adapter of the ESXi Host that the problem VM lock originates from. the Host holding the lock on the problem VM’s vmdk.]]
You can initiate a consolidation of the VMDKs manually by right clicking on the VM and selecting Snapshot -- Consolidate.