Skip to main content



How can we help you?


Druva Documentation

Troubleshooting compaction failure for inSync Storage

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.

This article applies to:

  • OS:  Windows, Linux
  • Product edition: inSync On-Premise

Problem description

inSync Management Console displays a compaction failed alert.


The following traceback is saved to inSyncCloudserver.log.

[2017-08-10 05:01:00,617] [ERROR] Compaction: doStorageCompact has been failed for storage:1. Error:'ls_locked'.
[2017-08-10 05:01:00,617] [ERROR] Error <type 'exceptions.KeyError'>:'ls_locked'. Traceback -Traceback (most recent call last):
  File "inSyncSrv\inSyncCompact.pyc", line 234, in __storageCompact
  File "inSyncSrv\inSyncCompact.pyc", line 303, in __doStorageCompact
  File "inSyncSrv\inSyncCompact.pyc", line 670, in compactRPoints
  File "inSyncSrv\inSyncCompact.pyc", line 725, in expireRPoints
KeyError: 'ls_locked'


inSync administrator receives the following email.

Alert : *Storage Compaction Failed*
Alert Time : 05:01:46 IST, Sat 02 Sep 2017
Storage: Druva_Storage
Alert Message : Compaction failed for storage Druva_Storage 0:'ls_locked'.
This can lead to higher disk space usage and slower performance, please contact Support.


Upgrade inSync On-Premise version to the latest release.