Offline defrag exchange 2003

I want to do a offline defrag of the exchange server 2003 on SBS 2003. do i run this from the command prompt: eseutil /d D:\program files\exchsrvr\mdbdata\priv1.edb  ?
D: drive is where the priv1.edb is located
What do i do after this?
I need to dismount the store first > then remount
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

That is right, and yes you need to dismount first

The question is, why do you think you need to offline defrag?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brian PiercePhotographerCommented:
jeffsteffyAuthor Commented:
the exchange store is 24gig and growing fast for a very small office.
do i do anything after running the:  eseutil /d D:\program files\exchsrvr\mdbdata\priv1.edb  ?
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Brian PiercePhotographerCommented:
If you are running exchange with SP2, then any "white space" is not counted against the total database size, which can be extended to 75Gb of "real data"

Please refer to the link I gave earlier as to details of the process.
There is no point doing an offline defrage if it is "growing fast" it will simply start chewing space again.

Fix the underlying cause, don't blindly treat the symptoms.
jeffsteffyAuthor Commented:
it says to run eseutil /p "D:\program files\exchsrvr\mdbdata\priv1.edb
 Run ESEUTIL with the /p switch to configure ESEUTIL to create the new defragmented database on an alternate location
is this only if i want the database in another location?
Brian PiercePhotographerCommented:
No - its so you if it goes wrong the original is not affected.

kieran_b has a good point - if the database is rapidly expanding then you really do need to address the cause.
jeffsteffyAuthor Commented:
it is not rapidly growing, but needs to be addressed
just making sure i do this right the first time
jeffsteffyAuthor Commented:
offline defrag does not provide a lot of free space after?
Brian PiercePhotographerCommented:
If the file has a lot of "white space" then it will compact the file and remove it.
jeffsteffyAuthor Commented:
so i run the p switch after remount?
I can tell you right now, you don't need to do a defrag.

If it is growing at all, even slowly, you have no whitespace left - meaning there is nothing for the defrag to clear.

If you want to stop your mail databases growing, be mindful of what is being saved in there and implement some kind of archiving solution.  That said, for 24GB, who cares?

Run the defrag and then post back in 2 days when it is finished and you are confused as to why it only shrank by 100MB
jeffsteffyAuthor Commented:
I am sure your right, I do have GFI mailachiever, getting people use this is challening...but it will happen
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.