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: 1202
  • Last Modified:

Free space required for running Exchange 2003 offline defrag

Need to run an offline defrag to get under the 75 GB limit. Have checked event 1221 for free space.

.EDB and .STM files together is 78 GB

On the drive where the .EDB and .STM files are located are 18GB free space

I would like to defrag to another drive with 400 GB free space using the /P switch on ESEUTIL.

My question is: Will the offline defrag require more space on the source drive than the 18 GB? or is the source drive not affected at all since the /P will create a new copy on the other drive?
0
itpartner_danmark
Asked:
itpartner_danmark
  • 3
  • 2
  • 2
  • +2
4 Solutions
 
BusbarSolutions ArchitectCommented:
offline defrag will not run if the free space is less than 1.5 time of the actual DB space thus you will need around 100 GB free space.
I suggest moving the DB to a new server and defrag it.
0
 
itpartner_danmarkAuthor Commented:
Will it fail and eventually corrupt the database or will it just not run and give me an error?

And again, is the exstra space needed on the drive where the database files reside today or on the drive where I will put the defragged database using the /P switch?
0
 
BusbarSolutions ArchitectCommented:
it will fail but nothing will happen, for the /P switch I think yes it will be at the destination. but 90% sure of that.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Alan HardistyCo-OwnerCommented:
The /p switch is not the seitch you need, you need to use the /t seitch to point the temp files to a different drive.

110% of the database size (.edb + .stm files) in free disk space is required.

Your command will be:

eseutil /d "x:\program files\exchsrvr\mdbdata\priv1.edb" /tx:\pathtodrivewithspace\tempdfrg.edb
0
 
vSolutionsITCommented:
you can do it the way alan suggested or go to command prompt

go to the drive where you have enough free disk space for e.g   E:.

cd E: and then change the path to exchange bin folder as follows assuming your exchange folder is on C:\Exchange.

e:\Set path=C:\Exchange\Bin

once the above command is successfully executed then type eseutil without any switch and verify it runs successfully and shows eseutil parameters.

then type eseutil /d <path to your Exchange edb file> by doing this offline defrag temp files will be generated on E: i.e on the drive on which you have enough free disk space.
0
 
Simon Butler (Sembee)ConsultantCommented:
Or you could just not bother with an offline defrag.
The 75gb limit isn't hard enforced, and as long as your database size minus white space remains below 75gb, then everything is fine.

Offline defrag is not risk free and is not something I personally would recommend unless you are very tight on space and will get a significant amount of space back.

Simon.
0
 
itpartner_danmarkAuthor Commented:
Right now the DB files is 78 GB and event ID 1221 says 8 GB white space, so maybe we should not run an offline defrag yet.
0
 
Alan HardistyCo-OwnerCommented:
Unless you need the extra 8Gb of space, it isn't worthwhile.

The downtime would be around 10-12 hours and the benefit isn't that great.  After a defrag the Exchange database will grow instantly as new mail arrives, but as it is, you have 8Gb of space before the database will grow again.

You can always adjust the mailstore retention time to increase the whitespace further:

http://www.msexchange.org/tutorials/mf022.html
0
 
itpartner_danmarkAuthor Commented:
Thanks to everyone for your inputs. They all helped me to take the right decision. Change the retention time and get more white space and wait to see if offline defrag is really nescesarry.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

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