Solved

The snapshot generated from the file scan database is not consistent; the database on this volume should be rebuilt..

  • 12 May 2021
  • 5 replies
  • 627 views

Badge +1

hello all,

wondering whether anyone has seen the specific error:

“The snapshot generated from the file scan database is not consistent; the database on this volume should be rebuilt...”

This clearly is related to a specific volume (C:\), however the job finished successfully the 1st day, I'm now seeing system state failing.

Is the “database” the error refers to, the client metadata db?

Cheers,
Glen.

 

icon

Best answer by Stuart Painter 12 May 2021, 07:34

View original

5 replies

Userlevel 7
Badge +15

Hi @Glen 

Thank you for the question and welcome to the Community!

This certainly sounds like the optimized file scan database on the client has an issue and the next step is to rebuild.

Please check for the presence of registry key:
Location : HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance001\Data Classification\Configuration\{GUID}\ 
Key Name : DatabaseRebuildControl
Type : DWORD 
Value : 3

 

This marker governs if the database should be rebuilt on the next services restart.

Please restart all client services and you should the database get rebuilt. The database can be found in this location, but as you suggest, there will be a separate database per volume:

C:\System Volume Information\Commvault\Data Classification

The database will named something similar to “dc_002.db”.

 

There are also steps mentioned in documentation for manually deleting the database if this automatic process doesn’t yield results:

Windows Backup Agent - FAQ

 

Thanks,

Stuart

Badge +1

Thanks Stuart,

Sorted after the restart of the services (key was present).

Cheers,
Glen.

Userlevel 7
Badge +15

Thanks for confirmation @Glen!

Glad that got it sorted.

Thanks,

Stuart

Badge

Hi @Stuart Painter 

short question, is there also an additional setting wich we could use?

Thanks

Martin

 

Userlevel 7
Badge +15

Hi @martinkaufmann 

No, unfortunately there isn’t an additional setting for this.

Since the key needs to configured using the database GUID itself, we wouldn’t be able to add the key DatabaseRebuildControl as an additional setting since the registry location requires the GUID in the registry folder path.

In theory this is a niche use-case, with this manual intervention needed only if a database has an issue.

Thanks,

Stuart

Reply