Solved

Running offline defrag after mailbox deletions

Posted on 2010-09-15
5
425 Views
Last Modified: 2012-08-14
Hi

We recently had a large number of mailboxes deleted from some of our Exchange 2007 databases due clean up after people leaving the company etc.

I now understand that the space previously taken up by their mail has become 'white space'. Online defrag shows that there is a significant amount of white space within a few databases where these users' mailboxes resided.

We were thinking of running an offline defrag. From what I understand, this will reclaim the white space and therefore reduce the overall size of the database.

Our plan was:

1. Make a copy of the database.
2. Dismount production version
3. Run offline defrag on copy
4. Assuming defrag works fine, run ISInteg -fix on the copy
5. Assuming no problems, mount the copy as the production database

I just wanted to check that this was the best course of action. Also, I've read that ISInteg -fix should generally be run after an offline defrag, however I've never been quite sure why? Could someone explain?

Many thanks
0
Comment
Question by:smith1974
  • 3
  • 2
5 Comments
 
LVL 74

Accepted Solution

by:
Glen Knight earned 500 total points
Comment Utility
There is no technical reason to run an offline defrag or isinteg of an Exchange 2007 database.

You can create upto 5 databases so the best course of action is to create a new database move the mailboxes to it and then delete the old one. This will give you a completely defragmented error free data store with the added bonus of no downtime.

Please see my guide here for further details: http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2730-Exchange-Offline-Defrag.html
0
 

Author Comment

by:smith1974
Comment Utility
Ok, that makes sense :)

Two questions..

1. Do you recommend circular logging when moving the mailboxes to avoid the possibility of our t-logs filling up the drive?

2. If we do use circular logging, do we enable that on the source db, the target db, or both?

3. I am correct in thinking that to enable/disable circular logging, you need to remount the store?

4. Just in terms of the offline defrag, do you know why people advise to run isinteg afterwards? Is that necessary?
0
 
LVL 74

Expert Comment

by:Glen Knight
Comment Utility
Personally when I am moving mailboxes I enable circular logging because I normally leave the mailboxes moving overnight.

You need to consider that if you turn on circular logging and there is a hardware failure with the disks that your mailstores are on then you will only be able to recover from the last backup.  So always take a backup first.

You will need to do it on both and yes you will need to remount the stores.

It's not necessary, there are a number of functions that ESEUTIL performs, one of them is an offline defrag, however it also performs repairs (when used with different switches) it is always recommended after running these repairs that you check the integrity of the database using ISINTEG which again performs different types of tests and fixes.
0
 

Author Comment

by:smith1974
Comment Utility
Thanks for the great help!

Before I close this out, just to clarify, ISINTEG is only really needed after a ESEUtil hard repair, not an ESEUtil offline defrag?

In any case, we will go with the mailbox moves. Thanks so much!
0
 
LVL 74

Expert Comment

by:Glen Knight
Comment Utility
There is no technical reason to run ISINTEG after running an ESEUTIL for  offline defrag.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now