Skip to main content
Question

CV Troubleshooting DB

  • May 20, 2025
  • 3 replies
  • 55 views

Forum|alt.badge.img+14

Hi,

 

during dr backup i get the follwing error:

 

Failed to get log usage with error [100] for database [Troubleshooting]

 

How can i shrink this db ? 

3 replies

Forum|alt.badge.img+8

Hi ​@SSchmidt,

The error [100] for the [Troubleshooting] database suggests that Commvault is unable to read the transaction log usage. This could be due to one or more of the following issues:

* Corruption or inconsistency within the database
* Log file issues (e.g., large unbacked log, uncommitted transactions)
* Permission issues or the database being in an inaccessible state (e.g., offline or suspect)

If you have access to SQL Server Management Studio on CommServ Machine, please log in and verify the state of the Troubleshooting database (Online/Offline/Suspect). Also, check whether the recovery model is set to FULL or SIMPLE.

You can run the following command to check for database integrity issues: DBCC CHECKDB ([Troubleshooting]) WITH NO_INFOMSGS, ALL_ERRORMSGS;


If needed, you can shrink the database from the SQL Server side follow this doc after taking a backup of the DB : Shrink a database in SQL Server

Before shrinking the database, please review the CommServDR logs for any errors related to Validation of the DR export path or Upload issues to Metallic Cloud (if enabled)

Regards,
Dheeraj


Forum|alt.badge.img+14
  • Author
  • Commvault Certified Expert
  • May 22, 2025

hi,

 

thanks for your quick response. The problem was solved after dbmaintanance full and creating an new share for the disc backups.


Forum|alt.badge.img+8

Glad to hear the issue has been resolved after creating a new share and running DBMaintenance Full, which successfully shrunk the database.

 

Regards,

Dheeraj