?
Solved

Can't mount or dismount Exchange databases

Posted on 2013-06-26
7
Medium Priority
?
469 Views
Last Modified: 2015-06-23
I had a 2 member Exchange 2010 DAG.
1 server failed.
I had to remove the DAG using ADSIEDIT.
Now I can't mount a dismounted database...and also cannot dismount a mounted database
I get the following error:

Couldn't mount the database that you specified. Specified database:
Mailbox DB; Error code:
An Active Manager operation failed;
Error Database 'Mailbox DB' master is invalid..

An Active Manager operation failed. Error Database 'Mailbox DB' master is invalid.


Also if you go to any of the database properties it says..
.
 Master: DAGDEL:22546911 -xxxx-xx-xx-xxx etc.

 Master type: Unknown

Is there any way to change this so I can mount and or dismount the databases.

Thanks in advance
0
Comment
Question by:SWC123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 44

Expert Comment

by:Amit
ID: 39279598
Use PS and run this command

mount-database -identity dbname -force
0
 

Author Comment

by:SWC123
ID: 39279732
We....I tried it but no luck.
Mount-Database -identity abc mailbox database -force

I get the same error as above....master is invalid.
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 2000 total points
ID: 39279799
Why did you have to remove the DAG via adsiedit? That isn't a supported move.
You should have just recovered the server using the regular recovery methods and then restored the DAG that way.

As it is, the DAG probably hasn't been removed correctly. You need to remove it using the cluster tools. Have you recovered the failed server?

Given the mess you have made, your best option is probably Microsoft support.

Simon.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:SWC123
ID: 39279874
Yes...the server is recovered....the network card in our backup server went bad and it took the active databases on our main server down...the only way I could get the database on our main email server to mount was to remove the DAG with adsiedit....but now all 4 databases have a weird Master: DAGDEL with about 20 numbers after it.

3 of the databases are mounted...but 1 will not mount and all the others will not dismount.
They all say invalid master when I try anything.

I tried to recreate the DAG...but I keep getting errors that it cant find the default database availability group container 'Database Availability Groups' in Active Directory.

That was what I had to delete with adsiedit to get the databases to mount.
Thanks
0
 
LVL 3

Expert Comment

by:Krishna Patil
ID: 39799581
I too faced same issue, but not able to recover from it.
Is there any way to  remove value of msExchMasterServerOrAvailabilityGroup
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 40845719
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question