Third party backup fail to consolidate snapshot files
search cancel

Third party backup fail to consolidate snapshot files

book

Article ID: 418718

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • Thid party backup fail to consolidate snapshot file
  • A backup is completed successfully, however the consolidation is not performed correctly due to file locks
  • vmkernel log:
    yyyy-mm-ddThh:mm.ss.xxxZ In(182) vmkernel: cpu6:2110410)FSS: 6835: Conflict between buffered and unbuffered open (file 'vmname-flat.vmdk'):flags 0x4002, requested flags 0x8
    yyyy-mm-ddThh:mm.ss.xxxZ In(182) vmkernel: cpu6:2110410)FSS: 6835: Conflict between buffered and unbuffered open (file 'vmname-flat.vmdk'):flags 0x4002, requested flags 0x8
    yyyy-mm-ddThh:mm.ss.xxxZ In(182) vmkernel: cpu6:2110410)FSS: 6835: Conflict between buffered and unbuffered open (file 'vmname-flat.vmdk'):flags 0x4002, requested flags 0x8
    yyyy-mm-ddThh:mm.ss.xxxZ In(182) vmkernel: cpu6:2110410)FSS: 6835: Conflict between buffered and unbuffered open (file 'vmname-flat.vmdk'):flags 0x4002, requested flags 0x8
    
  • hostd.log
    yyyy-mm-ddThh:mm.ss.xxxZ Db(167) Hostd[2100508]: [Originator@6876 sub=Vigor.Vmsvc.vm:/vmfs/volumes/datastore/vmname/vmname.vmx] Consolidate Disks message: An error occurred while consolidating disks: Failed to lock the file.
    yyyy-mm-ddThh:mm.ss.xxxZ Db(167) Hostd[2100133]: --> Locking conflict for file "/vmfs/volumes/datastore/vmname/vmname-flat.vmdk". VMFS on-disk lock owner is host with MAC address xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx and VMFS lock mode 0x2.
    yyyy-mm-ddThh:mm.ss.xxxZ Db(167) Hostd[2100133]: --> Locking conflict for file "/vmfs/volumes/datastore/vmname/vmname-flat.vmdk". Kernel open flags are 0x4002. Owner process on this host is world ID 2110410 with world name vmx-vcpu-0:vmname.
    yyyy-mm-ddThh:mm.ss.xxxZ Db(167) Hostd[2100133]: --> Consolidation failed for disk node 'scsi0:1': Failed to lock the file.
    yyyy-mm-ddThh:mm.ss.xxxZ Db(167) Hostd[2100133]: -->
    
    

Environment

vSphere 7.x
vSphere 8.x

Resolution

This is third party related issue.
It may happen when the backup software still has an open disk session or proxy hotadd session active for the parent disk.

Restart backup server (service) and consolidate snapshot manually from vSphere Client.