Link to home
Start Free TrialLog in
Avatar of itpartner_danmark
itpartner_danmarkFlag for Denmark

asked on

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?
Avatar of Busbar
Busbar
Flag of Egypt image

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.
Avatar of itpartner_danmark

ASKER

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?
SOLUTION
Avatar of Busbar
Busbar
Flag of Egypt 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
Avatar of Alan Hardisty
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
SOLUTION
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
SOLUTION
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
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.
ASKER CERTIFIED SOLUTION
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
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.