Solved

Delete a corrupt DB in exchange 2010

Posted on 2012-04-04
6
2,178 Views
Last Modified: 2012-04-04
hello i try to remove a deleted DB in exchange 2010, This DB is lost because I turned down the role mailbox.

Defacto the File-db does not exist anymore.  
I want to permanently eliminate from Exchange.

I reported this error, but there are no users/mailbox in this corrupted/Nonexistent DB

thanks


The mailbox database 'OLDDB' cannot be deleted.

OLDDB
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>.
0
Comment
Question by:marcellobianchi
  • 3
  • 2
6 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37805938
FIX:

 The first thing you must do is run this command

Get-Mailbox -Database <DatabaseID> | ft -wrap -auto

This will show you all of the mailboxes left on the database

For any mailboxes that you find you must run

New-MoveRequest -Identity <MailboxAlias> -TargetDatabase <DatabaseID>  – Where <DatabaseID> is your new database you are moving to

 The next command you will run will show you the arbitration mailboxes.  You will want to move them the same way from the previous step.

Get-Mailbox -Database “mailbox database 1355317859¿ -arbitration | ft -wrap -auto

New-MoveRequest -Identity <MailboxAlias> -TargetDatabase <DatabaseID>  – Where <DatabaseID> is your new database you are moving to

Once these are complete you need to check the status of them via this command

Get-MoveRequest | Fl

Look for the field that says “status” under each mailbox.  You will want to make sure this says COMPLETE.  If it does not then it is not done!  Wait until this is finished!

You can also use this command to view the status

 Get-MoveRequest –SourceDatabase <DatabaseID>

Once all of them say complete you have to remove the requests before you can delete the database.  This can be done via this command.

remove-moverequest -identity <MailboxAlias>


http://www.n2networksolutions.com/2010/12/29/trying-to-delete-exchange-2010-mailbox-error-cannot-be-deleted-system-mailboxes/
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37806123
@Anuroopsundd

The first thing that the questioner says is that THE DATABASE FILES ARE DELETED. So non of the above helps in the slightest.

@marcellobianchi
Do you not have a backup copy of the db files you can restore and then do the process properly?
0
 

Author Comment

by:marcellobianchi
ID: 37806128
This db is a db ghost, no longer exists because the server has been formatted.

within this there are db user, nothing.

I need to forcibly remove the db. which is the command?
Thnxx
0
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 37806268
You will need to use ADSIEdit and remove it from AD.

See this post for simular question/answer  http://social.technet.microsoft.com/Forums/en/exchangesvrgeneral/thread/08860aa8-04eb-4ea0-ba97-c2baec56d15e
0
 

Author Closing Comment

by:marcellobianchi
ID: 37806311
i try it's ok

thanks
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37806373
Your welcome :D
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now