Link to home
Start Free TrialLog in
Avatar of Giotech
Giotech

asked on

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
Avatar of TWBit
TWBit
Flag of United States of America image

Can you temporarily move the edb to the same location as the stm and then run the defrag?
ASKER CERTIFIED SOLUTION
Avatar of TWBit
TWBit
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Giotech
Giotech

ASKER

That worked thanks for your help.