We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Online Fragmentation - Exchange 2003

Medium Priority
859 Views
Last Modified: 2012-05-06
I am concerned if the online fragmentation in our Exchange server are completing. We are running Windows Server 2003, Exchange Enterprise 2003, the databases are on a SAN. We are NOT running on a cluster enviroment. It is one single server, with 200 users.

I checked the event logs:
Information Store (2588) Third Storage Group: Online defragmentation of database 'F:\Exchange Database\xxx.edb' was interrupted and terminated. The next time online defragmentation is started on this database, it will resume from the point of interruption.

Information Store (2588) Third Storage Group: Online defragmentation is resuming its pass on database 'F:\Exchange Databases\xxx.edb'

Information Store (2588) Third Storage Group: Online defragmentation is beginning a full pass on database 'F:\Exchange Databases\xxx.edb'.

Information Store (2588) Third Storage Group: Online defragmentation has completed the resumed pass on database 'F:\Exchange Database\xxx.edb'.

Information Store (2588) Third Storage Group: Online defragmentation of database 'F:\Exchange Database\xxx.edb' was interrupted and terminated. The next time online defragmentation is started on this database, it will resume from the point of interruption.




Comment
Watch Question

Commented:
Defragmentation takes a LONG time on exchange servers. It is only suggested that this be done on servers where massive amounts of data/mailboxes have been deleted.  If you do still want to go about defragging you may want to schedule some down time. a long downtime.

Author

Commented:
That is offline defragmentation right?

How about the Online defrag that the server does every night to clean up itself of deleted items, free up space and optimize the databases?
it sounds like maybe exchange does not have enough time to perform the defrag, increase the scheduled maintenance time to see if that helps

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
1. Start Exchange System Manager.
2. Expand Administrative Groups, expand Your_Administrative_Group, and then expand Servers.
3. Expand Your_Server_Name, and then expand Your_Storage_Group.
4. Right-click the mailbox store object that you want, and then click Properties.
5. Click the Database tab.
6. In the Maintenance interval box, click an appropriate schedule. (Note: Click Customize if you want to customize the schedule.)
7. Click OK.
8. Exit Exchange System Manager.

Author

Commented:
The schedule is set for 4 hours right now (preset from Microsoft). Do you think more would be necessary? What do you recommend should be set at?
4 hours should be enough, you may extend it upto 5 hours, ensure that your backup schedule is not scheduled in the same window.

to ensure your online defragmentation status, please review event id 1221 in the application logs
Hi there,

What time does your backup run? Perhaps that could be what is interrupting the online defrag.

If a lot of objects such as mailboxes are deleted the space is not returned back to the system.
Thus I feel it is important to run an offline defragmentation every now and again to keep the database at the optimal size.
A database of 200 users should not take more than a few hours defragment so there will be downtime.
I have run one on a database with over 500 users and it did take a few hours.
(Just ensure you have enough free space on your drive as it creates a temporary copy of the database when offline defragmenting)

Hope this helps
-FB
what edition of exchange are you running.

create a second mail store and move half the users to that store.  does the online defrag work for either of them?

Author

Commented:
We have four storage groups, and each storage group has 3 stores. Each store has from 50-100GB in size, one of them is 700GB which I am trying to move mailboxes around (the acual size should only be 150-200GB, needs an offline defrag, but I do not have the space so I am trying to move the mailboxes out of that store then delete it).

Author

Commented:
I got this message this morning:

The database "Third Storage Group\xxx" has 252 megabytes of free space after online defragmentation has terminated.

Does this mean it finished succesfully or means it was interrupted and failed? The word "terminated" is confusing.
No that means it completed.
Right, as I mentioned in my previous post that you should only be looking at event id 1221 for online defrag details

Author

Commented:
It was confusing because:
 I was looking at event 1221, at 7AM. Which stated:
The database "Second Storage Group\ENG1" has 74 megabytes of free space after online defragmentation has terminated.


And right after event 704 , at 7AM was logged stating:;
Information Store (2588) Third Storage Group: Online defragmentation of database 'G:\Exchange Databases\xxx.edb' was interrupted and terminated. The next time online defragmentation is started on this database, it will resume from the point of interruption

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.