Dismount database and delete edb file?

Of about 6 mailbox databases on my Exchange 2007 server, one of them is 90GB but has 0 mailboxes.
I don't show any mailboxes on that database, but could there be other stuff on that database I can look for in case dismounting it will cause issues? Or am I correct that only mailboxes live on that database, and if 0 mailboxes exist according to powershell queries and EMC filter search, then there's nothing on it?

Would the process simply be this?
1. right-click and Dismount database
2. wait to make sure no problems arise
3. Right-click the database in the EMC and choose "Remove"
4. Delete the corresponding database folder which contains the .edb file on the drive it is stored on?
garryshapeAsked:
Who is Participating?

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

x
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.

Simon Butler (Sembee)ConsultantCommented:
Exchange will not let you drop a database that is being used by a mailbox.
Therefore if you don't think there are any databases on it, try and remove it. If Exchange lets you, then you are fine, remove the files and get the space back.

Simon.
garryshapeAuthor Commented:
Ok thanks, so far so good.

However, as I keep chipping away at these old, empty databases, how do I know which one has the System Attendant on it?
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Simon Butler (Sembee)ConsultantCommented:
The first database created will have system attendant. However it doesn't really matter. If you suspect that you have removed the one it contains, just restart the information store service, Exchange will recreate it.

Simon.

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
garryshapeAuthor Commented:
cool thanks guys helpful as always
garryshapeAuthor Commented:
Hello I'm sorry but you please help me

I had dismounted and removed the database files, however, apparently there WERE Mailboxes on those databases.    
For some reason it showed 0, but what I realized is that there was a sub-domain like sub.domain.com in the domain, and apparently AD users there had mailboxes attached to the databases I removed.  

It is strange that I had no warnings. I guess it was not checking against the Domain Controllers on the sub-domain to tell if there were mailboxes on those databases.

I'm assuming now I need to restore the edb file but if there's like 100 users I'm not sure how to restore them all at once instead of individually... :(
Simon Butler (Sembee)ConsultantCommented:
Exchange doesn't "check" - they are listed on the properties of the mailbox. It is only once that list is empty that Exchange should allow you to drop the database.

Exchange shouldn't have allowed the databases to be dropped, and this is the first time I have heard of it doing so. That suggests that problem is outside of Exchange, most likely a domain replication issue and the information that Exchange queries in the domain wasn't complete.

Your only option is to create a new database, allow it to be overwritten by a restore and restore the last backup or the EDB file in to that database. You will then need to reattach the users to the database.
If you aren't sure, then you will need to call Microsoft support to get them to assist.

Make sure that you are working on a COPY of the database file.

Simon.
garryshapeAuthor Commented:
Ok yeah it definitely let me remove with mailboxes attached. The AD users would have been in the sub-domain and I think that's why it didn't detect any maiboxes, because the scope of the Recipient mailbox wasn't including the sub-domain.

I am restoring a backup of the .edb file and .log files from the day before it was removed.

Shouldnt' I just be able to create a new database in Exchange, specify .edb file and log file location, dismount, then copy over the restored .edb and .log files back to where the new database is pointing to to restore the backup?
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
Exchange

From novice to tech pro — start learning today.