?
Solved

Online defragmentation terminating

Posted on 2005-02-25
12
Medium Priority
?
1,985 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Does Powershell have you tied up in knots?

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

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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