Solved

Exchange database recovery

Posted on 2007-11-25
8
863 Views
Last Modified: 2012-01-18
Last night we had one hard drive on the raid 5 array die. The hot spare took over and the array is currently rebuilding. Unfortunately the exchange databases and log files reside on that array and the e00.log file is corrupt. I ran integrity checks on both priv1 and pub1 databases and they are ok.
question: Can I delete everything in the mdbdata directory except the .edb and .stm files then mount the databases? Won't this create new log files and allow the databases to mount?
0
Comment
Question by:murgroup
  • 4
  • 3
8 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 500 total points
ID: 20348199
Hi,

First things first. In this situation I would first take a copy of everything in your mdbdata folder as it is now. Once that's done and confirmed you can move on. Have you confirmed the current state of the datbases via eseutil /mh.

i.e. eseutil /mh "c:\program files\exchsrvr\priv1.edb"

If this shows the database as clean shutdown state then all the log files should have been committed to the database so you should be able to MOVE all the E00*.log files and mount that database. As I said before keep a copy of these just in case DON'T delete ANYTHING.

If the database state is dirty shutdown then you can try to rename the last E00*.log file back to E00.log and then try to mount the database.

http://support.microsoft.com/?kbid=896143
0
 
LVL 13

Author Comment

by:murgroup
ID: 20348206
Ok both databases are in clean shutdown state but it will not let me copy the E00.log file.
0
 
LVL 13

Author Comment

by:murgroup
ID: 20348214
copying the database files now. Will take 15 minutes.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 29

Expert Comment

by:mass2612
ID: 20348222
Sounds like an Exchange process has a lock on the E00.log file. Stop all the services and try to copy it again. Good luck. You want a copy of everything now in case you make things worst. You shouldn't have to worry but better to have the files somewhere else just in case rather than wishing you had after you need them.
0
 
LVL 13

Author Comment

by:murgroup
ID: 20348228
I was able to copy all files except E00.log due to a disk I/O failure. It must have gotten corrupted when the hard drive failed. Is it ok to rename this file?
0
 
LVL 29

Expert Comment

by:mass2612
ID: 20348249
if you can then you should be ok to rename it.
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 20348314
Or you can delete it.  See:  http://www.petri.co.il/mount_exchange_database_when_e00log_is_missing.htm

Jeff
TechSoEasy
0
 
LVL 13

Author Comment

by:murgroup
ID: 20348335
Well I was not able to copy it so I deleted it and after restarting the information store both databases mounted. I'm sure there was data loss but at this point it does not matter. Thanks for the help.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

831 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