We help IT Professionals succeed at work.

Delete First Mailbox Database in Exchange 2010 SP1

cabiit
cabiit asked
on
Can't seem to be able to delete the first mailbox database in our exchange 2010 sp1 environment.
All mailboxes have been moved to new DB, including arbitration
If I run:
get-mailbox -Database "Mailbox Database 0772779794" -arbitration
it's empty

If I run:
Get-MailboxStatistics –Database "Mailbox Database 0772779794"

It shows:
DisplayName               ItemCount    StorageLimitStatus                                               LastLogonTime
-----------               ---------    ------------------                                                 -------------
SystemMailbox{8d6d2b0e... 1                    NoChecking


So now I am not sure what is going on and how I can delete the first mailbox database.

Thanks!
Comment
Watch Question

Adam BrownSenior Systems Admin
CERTIFIED EXPERT
Top Expert 2010

Commented:
Are there any mailboxes listed in the move request list?

Author

Commented:
From the EMC no, from cmdlet no

Author

Commented:
This is the specific error when I dismount db and try to remove

--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The mailbox database 'Mailbox Database 0772779794' cannot be deleted.

Mailbox Database 0772779794
Failed
Error:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
-------------------------------------------------------
OK
--------------------------------------------------------


Now I did have this setup on that db:
"keep deleted mailboxes for 1 day"
"keep deleted items for 1 day"

But I reconfigured those to 0 day and re-mounted the db, but still no luck.

I am wondering if a complete server reboot will be required?
Commented:
After spending quite a few days on this, I ended up using ADSI Edit to resolve.

Run ADSIEDIT.MSC
Expand the following node in Configuration container
CN=Configuration
DC=<Domain Name>
DC=COM
CN=Services
CN=Microsoft Exchange
CN=<Name Of Exchange Org>
CN=Administrative Groups
CN=Exchange Administrative Group CN=Exchange Administrative Group (FYDIxxxxxxxxxxx)
CN=Databases
Right-click on database store and delete it (make sure you choose the right now)

Restart the System Attendant, although I restarted Exchange to clear out any iSCSI connections and everything is working fine.

Author

Commented:
Solved my own problem and it worked well.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.