Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Defrag Disaster

Status
Not open for further replies.

johnmac1

IS-IT--Management
Jan 17, 2002
44
GB
Exchange 2000
I have been testing the off-line defrag utility, "eseutil" before doing it in the live environment. (we have moved lots of users about and need to recover the space)

Eseutil crashed with an error message (which I can't remember). I restarted and it halted with an error message saying that the database and streaming file do not match. I cannot remount the store.

How can I recover from this?

Thanks.
 
Well you could do one of 2 things: 1st hopefully you should have a tape back up of the edb and stm files. Not only do I make sure I have them on tape, but I also copy them to another server just to make sure. Delete the current edb and stm file and restore. Anyway if this is not the case when the defrag did its thing is should have made a tmp file of both the edb and stm files in your E:\Program files\exchsrvr\Bin directory (or where ever your directory is). These are the files that are defraged from the eseutil. Move these to files to where your current edb & stm files are. Rename then old larger files to .old files. Then rename the tmp files to priv1.edb & priv1.stm, then remount the mailbox and see what happens. I've done this before when I had a problem.
 
This is a test database so there is no backup. Also no temp files that correspond. i.e. .stm and .edb files with same timestamp, are in BIN directory.

Is there a way to create an empty stm file? As this is a test db data loss doesn't really matter. I'd just like to get it up and running again

 
I'm not sure if you can create an empty stm file. Just sounds like a very back defrag.
 
With Service Pack 1 or higher.

eseutil /p /createstm

You have to make sure there isn't an stm in the folder. If so it will not create a new one. Dan
Microsoft Exchange Support @ Microsoft
 
Can't get /createstm to work, eseutil doesn't recognise it. I presume I have not got SP 1 but am not sure. How can I check (normal route of About in Help no use as System Manager is part of Management Console and not Exchange - it is SP 1 by the way)

Thanks

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top