ESEUTIL Recovery

I'm attempting to recover a database in Exchange 2010. The DB state was dirty shutdown, but the logs has not corruption or anything missing. So I was attempting a soft restore, but I keep getting the below error. Any suggestions on this would be great.

This is the syntax:
C:\>Eseutil /r E05 /l "D:\Recovery\June20\data\DDrive\EX-DB-11\LOGS\EX-DB-11" /d "D:\Recovery\June20\data\DDrive\EX-DB-11\DATA" /i

Error:
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 14.03
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating RECOVERY mode...
    Logfile base name: E05
            Log files: ?D:\Recovery\June20\data\DDrive\EX-DB-11\LOGS\EX-DB-11?
         System files: <current directory>
   Database Directory: ?D:\Recovery\June20\data\DDrive\EX-DB-11\DATA?

Performing soft recovery...

Operation terminated with error -1022 (JET_errDiskIO, Disk IO error) after 0.47
seconds.
LVL 17
timgreen7077Exchange EngineerAsked:
Who is Participating?
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.

cwstad2Commented:
Hi Please follow this. It was the output from a recent microsoft support case i was invloved with. This also included replaying the logs into a copy of the restored database so that no email was lost. Point 8 onwards. You may have to do a hard recovery, which will lose an unspecified amount of data. Good luck

1. Ran the command to check the health of the Database <eseutil /mh "complet path of the edb file with the file name and extensiion>.

2. From the output of the above command checked and found that the State of the Database was in "Dirty Shutdown" and Logs Required were <0x39c9c - 0x39ca9>

3. From the Log Location found that the required logs were present and subsequent log files were also present approximately 14000 log files.


      1. 4. Ran the command to check the health of the required log files and the subsequent log files <eseutil /ml "complete path of the log location with the Log Prefix> and get the


output in txt file.
Example: eseutil /ml "C:\Logs\Logs of DB4\E03" >C:\healthcheckoflogsdb4.txte01

5. From the output of the above txt file confirmed that the required and subsequent log files were in contiguous sequence and all were heatlhy. No damaged or missing log files

were found.

6. We then ran the command for Soft Reqcovery to replay the required logs and the subsequent log files.
eseutil /r "log prefix" /d "complete path of the database file" /L "Path of the Log Files>
Example: eseutil /r E03 /d "D:\ExchangeDatabase\DB4" /L "E:\Exchange Logs\DB4"

7. Soft Recovery Completed successfully.

8. On the production Exchange Server ran the below command to create the Recovery Database.
New-MailboxDatabase -Name RDB -Recovery -EDBFilePath "D:\RDB\RDB.edb" -LogFolderPath "D:\RDB"

9. Mount the Recovery Database by running the command <Mount-Database -Identity DRB>.

10. Dismount the Recovery Database by running the command <Dismount-Database -Identity RDB>.

11. From the Location "D:\RDB" rename the new blank edb file for RDB as Old.rdb.edb.

12. Copy and paste the edb file on which we have performed the soft recovery under the location "D:\RDB".

13. Rename the file on which we have done the soft recovery as "RDB.edb".

14. Move all the log files including the catalaog folder and the oldrdb.edb" from the location "D:\RDB".

15. From the Exchange Management Console\Orgdatabase can be overwritten by a restore".anization Configuration\Mailbox\Database Management\Select RDB right click properties\maintenance tab and check the box "this

/
15. Mount the Recovery Database "RDB".

16.  Run the command to restore the emails from the recovery database to the production database.

Get-Mailbox -Database "Name of the production Database" | Restore-Mailbox -RecoveryDatabase "RDB"

17. The above command will merge the emails from the RDb into the Production.

Please find the below article:

Restore-Mailbox
https://technet.microsoft.com/en-in/library/bb125218(v=exchg.141).aspx
0

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
bobluisCommented:
Restart Information store services in Mailbox then try again. Let's see if it works..
1
Marshal HubsEmail ConsultantCommented:
To resolve this “ JET_errDiskIO”  error, you may have some help from here: http://recover-email.blogspot.in/2014/09/how-to-resolve-exchange-error-1022.html

In the meantime you can try to repair your corrupt Exchange database using inbuilt utilities such as Eseutil & Isinteg .

If this works, Good.

 Else you need to take help from professional tools,Using which you can fix corrupt stage of your edb file responsible for showing this  “ JET_errDiskIO”  error . Stellar Exchange Recovery is one such option, which can fix  corruption of Exchange Server database and provides access to all inaccessible mailboxes. Moreover after recovery this software restores intentionally as well manually deleted mails from the mailbox..
0
cwstad2Commented:
Hi Tim hope  the solution got you ot of jam.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.