Avatar of IKtech
IKtech
 asked on

offline defrag exchange 2007 sp1

I am running all exchange 2007 roles on one server (OS is server 2003R2 64bit standard sp2).  I have been researching doing an offline defrag to decrease the physical size of the .edb file and i am wondering if this offline defrag will affect any of the other roles on the server or if there is any extra steps i need to be aware of.  Right now my Database is 44.6 GB and event ID 1221 in the event logs states i have 12gb of free space.  

I have also read about moving the mailboxes to a temp location and then moving them back again.  I am thinking about trying this method instead because it looks safer than an offline defrag.  Do any of you have experience with the offline defrag method and has it been problematic for you?
ExchangeEmail Servers

Avatar of undefined
Last Comment
IKtech

8/22/2022 - Mon
Shreedhar Ette

This article i give to my clients to explain offline defrag: http://demazter.wordpress.com/2010/03/01/exchange-offline-defrag/
ASKER CERTIFIED SOLUTION
achaldave

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
y4utech

Perform following steps to defrag exchange mailbox database:

--We need to dismount the Exchange Store before start this activity (User will not able to access mails during this Time).

--Take the FULL backup of Exchange Database.

--We need 110% of free space in the drive to do offline defragmentation. [Where we have the Bin folder]

--Check the free space on the server.

--We need around 137.2 GB of free space to do offline defrag. I.e. 44.4 GB to take exchange database backup and 92.8 GB to perform offline defragment on Mailbox database.

--We can take the Exchange database backup on USB drive also.

--4GB of Database Require 1 Hour to complete the offline defrag.

--This will require around 11 hours down time to complete defrag after successful backup of Mailbox Database.

--Use below mentioned command to defrag the database.

eseutil /d "Database Path"

/d - We use /d to defrag the database.
Database Path - Location of the exchange database.

e.g. [ eseutil /d "c:\program files\exchsrvr\mdbdata\priv1.edb" ]

--It is recommended that you immediately perform a full backup of this database. If you restore a backup made before the defragmentation, the database will be rolled back to the state it was in at the time of that backup.

--Please ref the below mentioned link for Exchange Offline defragment.

http://support.microsoft.com/kb/328804
http://www.petri.co.il/defragment_exchange_2000_2003_server_databases.htm

If you need any further assistance on this issue then please do let us know.

Hope this information will help you to perform exchange offline defragment.

Have a nice day.....

IKtech

ASKER
i Have got 10 GB of whitespace so i will monitor it and also look into setting up retension policies as well as size quotas to keep from growing to much more.  Thanks for the advice gentlemen.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck