Offline Defrag Questions

I am going to be doing an offline defrag of exechange and was wondering if there was any gotchas.  Anyone have a proper set of directions for doing this?  Which drive should I make sure that there is proper space on it to run this.  Should it be on the same drive that the database is stored?  Thanks
Who is Participating?
redseatechnologiesConnect With a Mentor Commented:
Hi mkurtzhals,

Right, first, here are two guides for it;

As for gotchas, there are a few.

First, look for event id 1221 in your logs (now) and confirm that you will actually reclaim space

Next, be sure you have the space.  You will need 2.5 times the space (Why, I hear you ask when MS says you only need 110%?).  You will need this on the drive that has the EDB and STM files (search if you are not sure, there should only be 4 of them).  If you have the space on that drive, you can do it there, generally I move it to another drive - just for redundancy (and satisfaction of my paranoia)

Easy, you will not be working on the ACTUAL databases, make a copy of them, and then work on the copy.  That way, we will not have to test your backup solution when you have a blackup, or spill coffee on the server while doing the defrag :)

Finally, have the time - I think it is 5GB an hour, so be prepared.  And remember, your mailserver is offline during this.

Hope that helps,

Follow this microsoft article and i guess it would be of good help

I REALLY suggest reading this "You had me at EHLO" blog from the Microsoft Exchange team:
...and one which references it...

Make sure that you know why you are performing an offline defrag and not just doing it to do it.
And, for the sake of all things sacred, make sure that you have the proper anti-virus exclusions in place so that it does not try and scan the temp defrag file.

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.