Link to home
Start Free TrialLog in
Avatar of Kevin Staley
Kevin StaleyFlag for United States of America

asked on

Online defragmentation terminating

For the past two weeks or so several of our users have been cleaning up their mailboxes because we were gaining
ground on the magic 16GB mark (at 14.1GB now). However, it has now been just over 7 days (tne retention period
in Exchange) and no decrease in space has resulted when I know for a fact (calculated by summing the mailbox sizes
in System Manager) we have reduced it by close to 3GB. The application event log has been reporting the interruption
and subsequent termination of the online defrag of the priv1.edb. I have listed below a sample of these events from
earlier today (by the way the online defrag of pub.edb has no such problems):

Time           Event ID           Description (paraphrased)
5:00:01       1221                There is 2647MB of free space after online defrag has terminated
5:00:00        704                 Online defrag of priv1.edb was interrupted and terminated
2:55:29        700                 Online defrag is beginning a full pass on priv1.edb
2:54:29        703                 Online defrag completed the resumed pass on priv1.edb
00:15:58      702                 Online is resuming its defrag of priv1.edb

How do you recommend I proceed with resolving this failure to recover free space?

Thanks
Avatar of Kevin Staley
Kevin Staley
Flag of United States of America image

ASKER

Oops, I forgot to mention I am running Exchange 2003 on a Windows2000 server.
Avatar of quell23
quell23

1.Have you tried an offline defragmentation?
eseutil /d "C:\program files\exchsrvr\mdbdata\priv1.edb

2. Have you looked up the event ID's at technet?
3. Can you give more information on the  704  Error
1. I have not tried offline defrag yet, that was going to be my next step but I thought I would see if there was anything
else I could do before taking it offline.
2. Yes, not much to go on there.
3. Not more than I have already given.
This might help.
http://blogs.msdn.com/jeremyk/archive/2004/06/12/154283.aspx
If a pass of the online defragmentation was interrupted due to window expired or backup initiated, the following event is logged:
Event Type:   Informational
Event Source: ESE
Event ID:     704
User:         N/A
Description:
%1 (%2) %3Online defragmentation of database '%4' was interrupted and terminated. The next time online defragmentation is started on this database, it will resume from the point of interruption.
%n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
Thanks for the helpful links. Since my post, I discovered that Backup Exec on this server performs its own database
maintenance (which includes a backup to disk) around 3:00 a.m.  I bumped this maintenance task up to 6:00 a.m.,
which is after the Exchange maintenance window, and since then (twice) the online defrag has completed without
any interruptions. However, I still have not reclaimed the 3.5GBs worth of free space, so I guess I am going to have
to run an offline defrag.
Good Luck....Hope it works out for you.
FYI: I had to run an offline defrag when we hit out magic limit and it took roughly 4 hours.
I found this recently:
Event ID: 1221
Online defragmentation does not allow the database file to shrink. This event tells you how much space could be recovered by an offline defragmentation.

Did the offline defrag work?
I am waiting for a weekend when I can take the store offline late at night. Probably next weekend.
Before I perform the offline defrag I plan on pulling a Full online backup of the store. Immediately following the
completion of the online backup I would dismount the store. However, I was wondering if I should also pull an offline
backup (once I have dismounted the store)? If so, is it sufficient to backup the \exchsrvr\mdbdata folder only (contains
all the log files and all the .edb files for the store)?
ASKER CERTIFIED SOLUTION
Avatar of quell23
quell23

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
Sorry for another post but here is a good link for Exchange 2003

-Exchange 2003 Disaster Recovery
http://www.microsoft.com/technet/community/events/exchange2003/tnt1-101.mspx

It has a nice little video you can watch for proper backups.

I am getting this same error (evtId 700) and checked the Backup Exec schedule and it does not interfere with the online schedule.
Online schedule is from 1:00 AM - 5:00 AM, while
backup Exec Schedule is from 7:00 PM - 10:16 PM lasting approx 3hrs. Thus I can't understand why it is not completing.
I have changed the schedule to run from 12:00 AM - 5:00 AM. and I will see the result.
Any other suggestion will be helpful.