Exchange server 2007 mailbox database can not be mounted

Malekhasan
Malekhasan used Ask the Experts™
on
Hi there,
I can not mount mailbox database, it gives me error: MapiExceptionJeterrorReadVerifyFailure. Unable to mount database.
Event id: 419 Source: ESE
MSExchangeIS (2372) First Storage Group: Unable to read page 33687313 of database D:\EXDatabase\Mailbox Database.edb. Error -1018.

Event id: 454 Source ESE
MSExchangeIS (2372) First Storage Group: Database recovery/restore failed with unexpected error -1018.

Event id: 9518 Source MSEchangeIS
Error Read verification error starting Storage Group /DC=local/DC=MBSJHB/CN=Configuration/CN=Services/CN=Microsoft Exchange/CN=Milpark JHB/CN=Administrative Groups/CN=Exchange Administrative Group (FYDIBOHF23SPDLT)/CN=Servers/CN=MBSEX/CN=InformationStore/CN=First Storage Group on the Microsoft Exchange Information Store.
Storage Group - Initialization of Jet failed.

Before one week, i have deleted a lot of transaction logs because i ran out of disk space and then i mounted the database successfully and did windows full backup, circular logging is enabled, i found out that transaction logs are not filing the drive since one week and today i have done a restart and now i can not mount the database any more.

Please help me as soon as possible to fix this issue
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
I have tried Eseutil /k but i have got many errors: Checksum then it gives me an operation terminated that database is corrupted so what can i do now?

Author

Commented:
I have tried Eseutil /mh and i have got an error -514 (JET_errBadLogVersion, version of the log file in not compatible with the jet version), i only see three log files in the logs folder, i think i need to regenerate these logs again, what can i do?
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

AkhaterSolutions Architect
Commented:
you database is corrupted do you have any backup ?

if not you need to run eseutil /p on it
make sure to make a copy of the edb file before

Author

Commented:
I had backup one week ago, i have tried eseutil /p on public folder database (44MB) that repaired successfully but i could not mount the database, the mailbox database is (270GB) with 75GB white space so you think it will work?
AkhaterSolutions Architect
Commented:
you cannot mount it because the old log files are still there. delete old logs and chk file and mount it it will mount.

for the mailbox it will take time to recover and you wll free space on the disk

Author

Commented:
I have only 85GB as free space so you think it is enough?
AkhaterSolutions Architect

Commented:
u will need 110% free space as the db size

Author

Commented:
I do not have that space available so what you suggest?
AkhaterSolutions Architect

Commented:
get an external usb disk an use it as temp location

Author

Commented:
I have checked Microsoft web site and they mentioned that we need 20% for esetutil /p so i will go for it tonight and hopefully it will be repaired tomorrow.
AkhaterSolutions Architect

Commented:
it needs 110% not 20
AkhaterSolutions Architect

Commented:
well i need to update my Knowledge base ... last time i checked was back to 2003 times and it was 110%
"Keeping 20 percent of the size of the database files being repaired is suggested, although the size of the temporary file will vary widely depending on the nature of the repairs made."
Real situation may need more free space, then 20%.
Try again eseutil /p to be sure edb is OK.
What error you get while mounting it? Same or new one?
The repair completed successfully with 13hrs for 270GB database and 30% free space, i think that was achievement, i will run isisnteg -s server -fix -test folder then i will do a full backup.
AkhaterSolutions Architect

Commented:
great news
Make sure to delete old logs and check file befor you try to mount it.

If all goes well i suggest you create a new clean db and move all users to it (oops free space issue again on sight). A db that has been repaired with the /p is a db that suffered severe corruption i wldnt trust it as my operational database

Author

Commented:
I am planning to move critical users to another storage group and to do Eseutil /p on the repaired Database with temporary bath to a USB external HDD.
AkhaterSolutions Architect

Commented:
well if u do have a usb create a new db on the usb, move all users to it. Delete the old one and move the new edb back to internal disk.

Running eseutil /p again is useless

Author

Commented:
sorry, i meant i want to run eseutil /d on the repaired database, do you think that i can trust USB in this process and how long is it going to take?
AkhaterSolutions Architect

Commented:
yes u can trust the usb i ve done it many times never had an issue

Author

Commented:
Akhater:
I have 270GB database, 135GB white space, how long do you think it will take from me to move each mailbox to another storage group which will be on USB External HDD then i will redirect the path to the physical HDD after i remove the previous Database and log files, right?
AkhaterSolutions Architect

Commented:
it will take less time than the /p or the /d for sure..

one good thing is that when you create a new database and start moving mailboxes users operation will not be stopped during this time, only the user who's mailbox is being copied will not be able to send/receive all the rest will work fine.

If the USB is a 2.0 and the disk has an external power the time wouldn't be much more than a few hours.


1. create a new storage group (put the log file path on the internal disk)
2. create a new database (put the edb path on the usb disk)
3. make a backup/copy of the edb file (the one us just repaired)
4. enable circular logging on the corrupted database storage group and on the new storage group
5. get-mailbox -database CorruptedDatabase | move-mailbox -targetdatabase newdatabase
6. after it all finishes dismount the old database and delete the edb file (also delete the storage group if it is empty)
7. use the wizard to move back the edb file to the internal disk
8. disable ciruclar logging

if all goes well you have now a brand new database defraged and not corrupted

good luck

Author

Commented:
Akhater,
How can we know the extent of corruption? why we can not rely on corrupted database anymore, regarding point no. 6:
6. after it all finishes dismount the old database and delete the edb file.
What about the OAB and other system information in the old DB?

Your help is much appreciated
AkhaterSolutions Architect

Commented:
if a database has been corrupted I wouldn't rely on it anymore even after repair, it could, of course, serve you for years without issue but I think I'm a bit parano about these stuff.

you have nothing to worry about all the info on the old db will be moved to the new one or else exchange won't let you delete it
 (OAB is, by the way, published in the public folder and in the CAS not in the mailbox database)
Akhtar,
I am planning to do the following:
1- copy Bin folder to another server.
2- dismount the database.
3- copy mailbox database.edb file to another server.
4- Run ESEUTIL /d "D:\ExRepair\mailbox database.edb" /tE:\DBTemp.ed (E: is external USB HDD) on the other server.
5- Remove the old Mailbox database.edb file and copy the defragmented new one back.
6- Mount the database.

Please let me know if everything is right with these configurations.
AkhaterSolutions Architect

Commented:
it should be fine

Author

Commented:
Akhtar,
I have installed Exchange management tool and run eseutil /d but i get an error that jcb.dll is not a windows valid image, please assist me here.

Author

Commented:
I run the process on x64 Server so everything went smoothly.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial