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

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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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