It happens to the best of us. Things creep up and it gets difficult to regularly monitor the Exchange server's health. Eventually, you get a phone call from a user who claims that she can't log into your standard edition of Exchange server. After a little investigation, you find the following entry in the Exchange server's logs:
Event Type: Error
Event Source: MSExchangeIS
Event Category: General
Event ID: 1112
Description: The database "Mailbox Store (Server Name)" has reached the maximum allowed size. Attempting to unmount the database.
Event Type: Warning
In the past, this message would be the end of your day as you work to perform an offline defrag to the Exchange database to (hopefully) bring it below the 16GB limit imposed by the standard edition of Exchange. Now, however, you can temporarily increase this limit by 1GB, giving yourself enough room to mount the database and remove unneeded content. This only works for Exchange 2000 with service pack 3 installed and Exchange 2003. Further, this tip is only useful for the standard edition of Exchange since the enterprise edition does not impose this database size limit.
To temporarily increase the size of the Exchange information store database:
- Stop the SMTP service (this prevents new mail from being delivered while you fix your database size problem. Failure to stop SMTP could result in your database expanding beyond 17GB.)
- Start regedit
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<Exchange Server Name>\Private-<hexadecimal string>
- Choose Edit > New > DWORD Value.
- Name the new value "Temporary DB Size Limit Extension" and press Enter.
- Double-click the new key name.
- Enter a value of "1" in the Value data box
- Click Decimal in the Base box
- Click OK.
- Close regedit.
- Mount the information store.
- Delete data you don't need, such as old mailboxes, or export a large mailbox to a PST file. Just get the store as far below 16GB as you can.
- Start the Exchange System Manager (you need to run online maintenance so any items you marked for deletion are actually removed from the store)
- Go to Exchange Server > Storage Group.
- Right-click the Mailbox Store option and choose Properties from the resulting shortcut menu.
- On the Database tab, choose Customize
- Specify a schedule that will force online maintenance to run immediately. Maintenance may take hours to run, so be prepared for a long day or night.
- When an event with ID 1121 appears in the system log, online maintenance has completed.
- Dismount the information store.
- Make sure that you have at least 18GB of disk space available.
- Run an offline defrag to further compress the store: exchsrvr\bin\eseutil /d "path to .edb file" /tX:\dbdefrag.edb
- Mount the store.
- Make a backup.
It's a very long process, but is much better than losing all of your mail.
Delivered each Monday, TechRepublic's free E-mail Administration NetNote provides tips that will help you manage your Exchange server and other e-mail systems. Automatically sign up today!