Defrag Exchange .edb and .stm files located on different drives

Hi

A drefag is required but the servers drives are maxed out and therefore I have created a mapped drive to another server for the temp files to be created.  The script I have eneterd into DOS works fines but because the stm files have been stored on a different drive to .edb file it fails.  Theses files should be stored in the same location but I cannot relocate as the drive is maxed out.

The server setup is as follows:
E:\Program Files\Exchsrvr
F:\Private Exchange DB\priv1.edb
E:\Program Files\Exchsrvr\MDBDATA\priv1.stm

The command I type is:  
E:\Program Files\Exchsrvr\bin>Eseutil /d "f:\private exchange db\priv1.edb" /t"i:\tempdfrg.edb"

The error is:
Initiating Defragmentation mode......
Database: f:\private exchange db\priv1.edb
Streaming File: f:\private exchnage db\priv1.STM
Temp .database: i:\tempdfrg.edb
Temp .Streaming File: i:\tempdfrg.STM

Operation terminated with error -2204 (JET_errSLVStreamingFileMissing, cannot find streaming file associated with this database)

As you can see from the error it thinks the .stm file is in the same location as the .edb.  Is there an extra command that can be inserted after my original command stating the location of the .stm file.

Thanks
GiotechAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
TWBitConnect With a Mentor Commented:
I guess this is what you are looking for though:
http://support.microsoft.com/kb/254132
0
 
TWBitCommented:
Can you temporarily move the edb to the same location as the stm and then run the defrag?
0
 
GiotechAuthor Commented:
That worked thanks for your help.
0
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.

All Courses

From novice to tech pro — start learning today.