While we were trying to restore the MailboxDB (to original location, without Recovery Database), DB failed to mount.
Couldn't mount the database that you specified. Specified database: test100; Error code: An Active Manager operation fa
iled with a transient error. Please retry the operation. Error: A transient error occurred during discovery of the data
base availability group topology. Error: Database action failed with transient error. Error: A transient error occurred
during a database operation. Error: MapiExceptionJetErrorFileIOBeyondEOF: Unable to mount database. (hr=0x80004005, ec
=-4001)
[Database: test100, Server: MBX2.dom.com].
+ CategoryInfo : InvalidOperation: (test100:ADObjectId) [Mount-Database], InvalidOperationException
+ FullyQualifiedErrorId : BDB1C812,Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase
Even I tried to mount the DB forcefully, (Mount-Database -force), There was no luck.
Troubleshooting
Ran ‘eseutil /mh’ against the DB file and found it is in dirty shutdown, and it need couple of log files to mount DB successfully.
Verified all logs are present in Log drive.
Tried to replay the logs (Eseutil.exe /c /f), it failed because it missing the base log file (E0B.log)
Here, I thought to ran soft recovery, using eseutil.exe /r
PS C:\Program Files\Microsoft\Exchange Server\V14\Bin> eseutil /r E0B /d X:\test100\ /l X:\test100\test100 /s X:\test10
0\test100
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 14.00
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating RECOVERY mode...
Logfile base name: E0B
Log files: X:\test100\test100
System files: X:\test100\test100
Database Directory: X:\test100\
Performing soft recovery...
&nbs
base availability group topology. Error: Database action failed with transient error. Error: A transient error occurred
d seconds.
It failed L…..
But I see there is option for loosy recovery, it’s good to have something than nothing….
C:\Program Files\Microsoft\Exchange Server\V14\Bin> eseutil /r E0B /d X:\test100\ /l X:\test100\test100 /s X:\test10 0\test100 /a
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 14.00
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating RECOVERY mode...
Logfile base name: E0B
Log files: X:\test100\test100
System files: X:\test100\test100
Database Directory: X:\test100\
Performing soft recovery...
Restore Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
.......................................................
Operation completed successfully in 397.600 seconds.
Soft recovery completed successfully and DB mounted successfully.