Cloud sync transfer fails with "Error: EBUSY: resource busy or locked"
Applies to
- Cloud Sync
- SMB Target
Issue
- When delete on Target is enabled , Cloud Sync will delete the files on the target if the files are deleted from Source or does not exist on Source.
- Cloud sync fails to delete the file on target with error "Error: EBUSY: resource busy or locked"
- Data Broker Failed logs show error "EBUSY" when Data broker attempted to delete the file from Target
[INFO] [TRANSFERRER] [2] [7706] [61dd399e642a14f74f385720] [DELETE_TARGET] FAILED: source { cifs: { host: '10.216.xx.xx', share: '/source', version: '2.1', provider: 'cifs', path: 'test' } } target: { cifs: { host: '10.216.xx.xx', share: '/dest', version: '2.1', provider: 'cifs', path: 'test' } } entry: { path: 'file1.pcapng', type: 'FILE', size: 92208, mode: 33206, uid: 0, gid: 0, mtimeSec: 1612945289, creationTimeSec: 1643974085, cifsAcl: 'ACL:Everyone@WORLD AUTHORITY:ALLOWED/I/FULL', tempEntryName: '.file1.pcapng_wdY1Wpv_netapp' } [Error: EBUSY: resource busy or locked, unlink 'mnt/61dd399e642a14f74f385720/bc9b568d-df8a-4da9-8ab6-93ad2b93d4f6_trg/test/file1.pcapng'] { errno: -16, code: 'EBUSY', syscall: 'unlink', path: 'mnt/61dd399e642a14f74f385720/bc9b568d-df8a-4da9-8ab6-93ad2b93d4f6_trg/test/file1.pcapng' }