[Last Call] Learn how to a build a cloud-first strategyRegister Now


what to do after temp defrag of edb and stm

Posted on 2007-08-01
Medium Priority
Last Modified: 2012-06-27
hi everyone,

I have defrag the edb and stm by using

eseutil /d <path> /t<external drive>

it has done the defrag and free up almost 5 gb but the temdefrag is in external drive and the size of the original db is same , what should i do now , shall i copy the defrag edb and stm to the location and rename the original one please help?
Question by:ammartahir1978
  • 3
  • 2
LVL 29

Expert Comment

ID: 19613541

Can you post the exact command you ran to defrag the database. Normally the temp file is automatically moved back to the default location but you can disable instating which means that both the defrag version and the non-defrag version are preserved.


Author Comment

ID: 19613565
eseutil /d d:\exchsrvr\mdbdata\priv1.edb  /ty:\tempdfg.edb

this is what i did as i dont have 110% space on the d drive
LVL 29

Accepted Solution

mass2612 earned 2000 total points
ID: 19613712
Mmm. If the process completed without error then I'd make sure I have a copy of all the files and then move the tempdfg and stm files into the mdbdata folder and rename it and then try to mount the store. Make sure that you do have a backup copy of all of the files so in a worst case you can go back to where you are right now but I don't think you will have any issues.

You should also be able to run eseutil /mh y:\tempdfg.edb to check the consistency of the defrag copy of the database first.

Author Comment

ID: 19613757
where do i run this command from ? to check the consistency i am already copy the the tempdfg.edg and stm to its original location and i have also rename them to priv1.edb but i am not replacing the original one.

what i did is i CUT the original files and copy them across to external drive and name them as .old and then rename the tempdfg.edb to priv1 and same for stm file and nwo i am copying it across to original location and then will mount the store..is this okay
LVL 29

Expert Comment

ID: 19613835
You can run it form the Exchange server eseutil is the same utility you used for the defrag but the /mh option just checks the database consistency. I think you are going to be fine but the consistency check is just another thing to know before trying to mount the database. If its consistent then it should mount fine once its copied and renamed correctly.

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

830 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