exchange 2010 phantom db record

we have exchange 2010 server standard with 3 database and when I tried to create 5 db I was not able to mount it as standard only allowed 4 db. I've deleted additional DB and files associated with it however when i am trying to create new mailbox I still see deleted DB name as an option and my backup software also see a record on another that phantom DB and give me errors that files don't exists.
How do I remove that phantom record.
also I moved all of the user mailbox from you default "Mailbox Database xxxxxx " which was created at initial install time, but when I try to delete it I am getting an warning that its not safe to delete. what is the best way to move and rename it or delete it ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
You need to make sure that there are no Arbitration mailboxes left on this database before i can be removed successfully.

Use the following command
Get-Mailbox -Database db1 -Arbitration

Open in new window

If you have arbitration mailboxes on this database they need to either be moved to another DB or deleted.

Also run the following command
Get-MailboxDatabase | Ft

Open in new window

Make sure that this database is actually present with in the EMS.

If you have done everything listed above and you still cannot remove this database gracefully, you can remove the DB using ADSIEdit. However this would be a last resort and should be performed with caution.

leop1212Author Commented:
I moved arbitration mb to another db and I was able to delete default DB
Get-mailbox –arbitration –database "default db" | new-MoveRequest –targetdatabase "Target DB"

however when I ran
 Get MailboxDatabase |ft  
i do see 3 of my current DB listed as well as two previously deleted  database which don't have any mailbox or even a folder.
how do I remove phantom DB names ?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

AmitIT ArchitectCommented:
Can you post the screenshot.
leop1212Author Commented:
here is a copy from the shell
wher first three dd do exist and work fine and last two lines were deleted but still listed .

[PS] C:\Windows\system32>Get-MailboxDatabase | Ft

Name               Server          Recovery        ReplicationType
----                          ------          --------        ---------------
frist                     EXCH10        False           None
second               EXCH10        False           None
third                   EXCH10        False           None
mb2015             EXCH10        False           None
New2015           EXCH10        False           None
Marc DekeyserSr Premier Field EngineerCommented:
Go in to ADSIEdit.msc, connect to the configuration partition.
Expand CN=Configuration -> CN=Services -> CN=Microsoft Exchange -> CN=YourOrganizationName -> CN=Administrative Group -> CN=Databases

All databases will show up there. if you delete the CN=DatabaseName that no longer exists you are effectively hard deleting it from the organization. I'd recommend you take a full backup of your AD before deleting anything, and be careful to not delete the wrong database.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AmitIT ArchitectCommented:
Can you run this command and check again.
Remove-MailboxDatabase -Identity "first"
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.