Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Store Fails Repair - 4001 (JET_errFileIOBeyondEOF)

Posted on 2009-05-05
4
2,007 Views
Last Modified: 2012-05-06
Long story short, server blue screen - exchange wouldnt mount when it came back up. tried a bunch of different things that led me to this step (eseutil /p). How do i get it back to a clean shutdown state, even if i loose some mail from the day it went down? Assume back ups aren't an option (NTBackup is also throwing an error).
0
Comment
Question by:ryanj1987
4 Comments
 
LVL 1

Expert Comment

by:George Lau
ID: 24306823
Going to make a couple assumptions: E2k3, single server, some kind of old backup, intact logs.

1. Create a Recovery Storage Group, and do not mount it.
2. Restore your old backup to this RSG
3. Place the log files in the same directory where you created the RSG. Pay attention to your backup date and pick the delta going forward between the logs and the backup.
4. At this point you need to run eseutil /cc [Path to restore.env] to attempt to replay your log files.
 5. Mount your stores in RSG and merge the email back into your rebuilt DB.


If there are absolutely zero working backups, then I'd ask how many users you had previously and if they used Cached Exchange Mode. If you have a low enough number of users, you could also take the easy way out:

1. Rebuild Exchange from scratch, re-creating user mailboxes
2. Go to each client in offline mode and export their mail to a .PST
3. Add the new account in Exchange and import the .PST

I have never tried replaying log files to a blank DB, but I guess you could do that, too.

Good luck,
T
0
 
LVL 6

Accepted Solution

by:
ilantz earned 250 total points
ID: 24307239
have you run the eseutil /p ?
when that indeed finishes the datebase should be in clean state.

if its bigger then 50 db then expect quite a long operation there... make sure you have TWICE the space in your drive also , or use the /t to tell where to put the Temp.edb file..

good luck & stay sharp :)
0
 
LVL 6

Assisted Solution

by:shahsejal
shahsejal earned 250 total points
ID: 24307284
Restore is always the best option. If not possible then the option is eseutil /p, followed by eseutil /d and then finally ISINTEG command.
Only if you had never taken any backup and you have all the Transaction log files & if the log files are also all OK, then you may rebuild the Exchange database.

How to Use Log Files to Rebuild the Priv1.edb File
http://support.microsoft.com/?id=278958
0
 

Author Comment

by:ryanj1987
ID: 24311548
Looking into the files the priv1.stm had a file size of 0 (which struck me as odd). I renamed the file and recreated the stream file using eseutil /p /createstm. It recreated the stream and completed the repair.

Ref: http://blog.sirkevi.com/files/Fixing_Exchange_error_-4001_JET_errFileIOBeyondEOF.php
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
To show how to generate a certificate request 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 Servers >> Certificates…

839 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