After a power loss my Exchange database will not mount and the log says JET_errLogFileCorrupt -501. How can I fix it?
Error -501 means a transaction log file is damaged. Options:
1. Restore from backup and replay the logs you have. This is the safest path.
2. If the damaged log is the newest one and you have no backup, you may lose the last few transactions. Move the damaged log to another folder and try soft recovery again with eseutil /r. This can bring the database to a consistent state with some recent mail lost.
3. Do not delete good logs or the checkpoint file.
If recovery fails, copy the EDB to safe storage and consider an EDB to PST recovery method for the data.
Moved the bad log and recovery completed. We lost the last few minutes of mail.
That is the expected cost. Add a UPS and check the write cache settings on the disk controller so this does not happen again.
Ordering a UPS. Thanks.