• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 498
  • Last Modified:

Exchange Server 2003 offline defrag

I am trying to run an offline defrag on my priv1.edb file. My HDD capacity is very limited so I have to run the defrag on another drive.
I have been using the following script from c:\program files\exchsrvr\bin after having dismounted the store.

eseutil /d /p c:\program-files\exchsrvr\mdbdata\priv1.edb /td:\temp.edb

D:\ refers to a second hdd on the server. I keep recieving the following error message:

Error: Access to source database c:\program-files\exchsrvr\mdbdata\priv1.edb failed with jet error -1811.
Operation terminated with error -1811 <JET_errFileNotFound, File not found)

I have made sure that I have full access to the Bin folder in exchange, and tried this command on another one
of my servers and it failed with the exact message so I assume I am doing something wrong. Can some one please help
1 Solution
More information of defrag:  http://www.msexchange.org/tutorials/Defragmenting-Exchange-Database.html

I think this error is happening because you don't have access to the files needed to perform the defrag:

Follow this article for instructions of running defrag on non-exchange machine:  http://support.microsoft.com/default.aspx?scid=kb;en-us;244525&Pro

Exchange Server 2003
1. Create a scratch folder on the computer that does not have Exchange Server 2003 installed.
2. Copy the Eseutil.exe, Ese.dll, Jcb.dll, Exosal.dll, and Exchmem.dll files from the Exchange Server 2003 computer's Drive:\Exchsrvr\Bin folder to the scratch folder.
3. At a command prompt, change directory to the scratch folder.
4. Run the eseutil command from this folder against any databases that were copied from the Exchange Server 2003 computer.


Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now