I was nearly at the end of the migration from Exchange 2010 to Exchange 2013: public folders were migrated.
At that point, I used ADSIEDIT and I accidentally deleted the object of class msExchMDBCopy which was located under "CN=Mailbox Database 2101711351,CN=Databases,...".
I recovered the object using ldp, rebooted exchange, but now I can no longer mount the database.
When I try to use
Mount-Database "Mailbox Database 2101711351"
I get the error
<tt>The database object 'Mailbox Database 2101711351' in Active Direcotry has been corrupted and is in an inconsistent state. Unable to find any server hosting a copy of this database.</tt>
It seems that the only copy of database has been marked as invalid (this is also shown on ECP)
<tt>Get-MailboxDatabase "Mailbox Database 2101711351" | fl name,DatabaseCopies,InvalidDatabaseCopies,AllDatabaseCopies
Name : Mailbox Database 2101711351
DatabaseCopies : {}
InvalidDatabaseCopies : {Mailbox Database 2101711351\MYSRV01}
AllDatabaseCopies : {Mailbox Database 2101711351\MYSRV01}</tt>
eseutil /mh on the .edb file reports "State: Clean Shutdown"
What else could I do to mount the database ?
Thank you.