Link to home
Start Free TrialLog in
Avatar of jtandsk
jtandsk

asked on

how to use the i switch when defragging exchange 2003

How do I and where do I use the i switch during a defrag of the exchange 2003?
EVerytime I run the defrag it tells me that it cannot find the stm file and errors out. I have that one on a different drive from the .edb file.
I plan on leaving the stm file out during the defrag or better yet how can i make exchange find the stm file on the other drive?

Thanks
Avatar of aissim
aissim
Flag of United States of America image

I think it would be something like:

eseutil /d C:\exchsrvr\mdbdata\priv1.edb /sD:\exchsrvr\mdbdata\priv1.stm /i
(obviously the paths to your .edb and .stm would most likely be different)
Avatar of jtandsk
jtandsk

ASKER

why is there an s right before the d switch
And I'd be wrong if I didn't mention that in general, unless there is a specific need to run the offline defrag, it is not recommended......let the online defrag do it's thing.
Avatar of jtandsk

ASKER

tried it and it didn't work. It keeps saying that it cannot find the streaming file even with that switch
the /s is telling eseutil where the .stm is located....in my example it's on the D drive. The actual /d switch is right after 'eseutil'. Also, note that there is a space after the /d switch.....and there is not a space after the /s switch. I'm pretty sure that's the syntax.

If the .stm file were on the F: drive it'd be:

....priv1.edb /sF:\exchsrvr\mdbdata\priv1.stm........
If that does not work then try a space between the /s switch and the file location; been a while since I've done it
And if you have a space in a folder name that's included in the path to your .stm file then you'll want to enclose the whole thing in quotes (same goes for the .edb file):

....priv1.edb /s"D:\program files\exchsrvr\mdbdata\priv1.stm"....
Avatar of jtandsk

ASKER

so do I need the i/ switch since I am telling it where to find the stm file?
ASKER CERTIFIED SOLUTION
Avatar of aissim
aissim
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