Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

Defrag Exchange 2003 Data Store

We are currently running out of space on our exchange server we about 500mb left. We are using EAS to archive old e-mails. First I would like to find out how I can calculate white space on the mail store and second which is the best approach for doing an offline defrag.
0
acomandari23
Asked:
acomandari23
  • 4
  • 4
  • 2
  • +2
3 Solutions
 
xyrtCommented:
hello,

As far as i am aware you cannot find out  how much space will be reclaimed from a defragment of the Exchange Database files.

My personal approach to a defrag is to
1) take a full backup of the Exchange server ensuring the log files are flushed
2) perform an offline defrag using the eseutil (c:\program files\exchsvr\bin\eseutil.exe)
The howto for the ese is http://support.microsoft.com/kb/192185

0
 
xyrtCommented:
Oh forgot to mention, you're going to need space on the drive that you put the temporary database on. Microsoft recommends 110% of the size of the database file being processed.

0
 
SembeeCommented:
You can get a rough idea on how much space you will gain from the event ID 1221 overnight.
However that space should be used first, before the physical size of the database is increased.
As already pointed out though, you need space to do an offline defrag. The minimum is 110%, but I usually recommend 1.5x. Plus you need enough space to allow you to work on a copy of the files, not the live files.
Oh and you haven't said how large the store is, but offline defrag will process at between 1 and 4gb per hour, depending on the hardware, and you are down for the entire time.

Simon.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
acomandari23Author Commented:
This store is 36GB... Also if I am just defraging this store will this effect other stores on the same server?
0
 
ocon827679Commented:
You only need to take down the store that you are defragging.  The other stores (including the stores in the same storage group if you are using Enterprise Exchange) can remain up during the defrag process.
0
 
xyrtCommented:
Only the mailstore that you are performing the defrag on will need dismounting.

0
 
acomandari23Author Commented:
so since the data base is about 36 gb the fastest it can defrag will about 9 hours correct? and second i just noticed that the previous system admin did not have the daily maintence online defrag schedule by enabling this will this get me some more space?
And which eseutil switch is best for this process the t switch?
0
 
xyrtCommented:
Expect the longest time possible, it depends on alot of factors, i managed a 20gb database in 2 1/2 hours.

you will need to use the /t switch if the drive your database is on does not have atleast 110% of the database size free. Use /t to specifiy another drive that has enough free space to be used as a temporary location.

If you turned scheduled online defrag to run it would go through the database files and find any objects no longer needed and delete them, it would create free space *inside* the database file, but the database file itself will not get smaller until you perform an offline defrag.
0
 
acomandari23Author Commented:
One last question i can seems to get the right synatex for the eseutil
this is what i am typing
C:\Program Files\Exchsrvr\bin>eseutil /d "D:\Program Files\Exchsrvr\MDBDATA\priv
1.edb" /t f:\echange\test.edb
0
 
acomandari23Author Commented:
I figured it out you have have the same edb name for the temp if your going to use the /t switch and specify the name.

thank you all for your help
0
 
SembeeCommented:
If online defrag hasn't been running then store has never used any white space. I expect that if you run that you will gain lots of space and an offline defrag will not be required.

Simon.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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