?
Solved

Online defragmentation terminating

Posted on 2005-02-25
12
Medium Priority
?
2,014 Views
Last Modified: 2012-10-17
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
0
Comment
Question by:ks157
  • 6
  • 5
12 Comments
 

Author Comment

by:ks157
ID: 13406231
Oops, I forgot to mention I am running Exchange 2003 on a Windows2000 server.
0
 
LVL 3

Expert Comment

by:quell23
ID: 13406613
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
0
 

Author Comment

by:ks157
ID: 13406770
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.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 3

Expert Comment

by:quell23
ID: 13407561
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.
0
 

Author Comment

by:ks157
ID: 13423177
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.
0
 
LVL 3

Expert Comment

by:quell23
ID: 13423783
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.
0
 
LVL 3

Expert Comment

by:quell23
ID: 13462091
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?
0
 

Author Comment

by:ks157
ID: 13462282
I am waiting for a weekend when I can take the store offline late at night. Probably next weekend.
0
 

Author Comment

by:ks157
ID: 13559563
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)?
0
 
LVL 3

Accepted Solution

by:
quell23 earned 1000 total points
ID: 13559736
In order to do an offline backup, all of the exchange services have to be stopped and from what I understand is basically a file-level backup. If you're worried about a disaster, simply do an online backup with the ms built in backup program. I have used this numerous times for disaster recovery test on exchange with no problems.
This link might help you decide. At the bottom of the article it goes into a little better detail about backups for exchange. It might help.

As a rule of thumb though I don’t think there is such a thing as to many backups. ;)

http://gethelp.devx.com/techtips/exo_pro/10min/10min0500.asp
0
 
LVL 3

Expert Comment

by:quell23
ID: 13559792
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.

0
 

Expert Comment

by:hryorke
ID: 38505641
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.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

615 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