Showing posts with label information store. Show all posts
Showing posts with label information store. Show all posts

Sunday, February 1, 2009

running an offline defrag of an Exchange Server

An Exchange server runs an online defrag nightly to optimize space usage, but an offline will do a complete rebuild of the information store for more efficient use of space and full recovery of space of purged mailboxes.

In this case, I had the information store on the E drive, but the E drive did not have enough space to hold the offline defrag, so I had to redirect it to the U drive (an external USB drive attached for backup).

The command I ran was:
C:\Program Files\Exchsrvr\bin>eseutil /d /p "e:\exchsrvr\mdbdata\priv1.edb" /t"u:\defrag\defragged.edb"

This 43.5 GB information store (before the defrag) took 4.21 hours. The defrag brought the information store down to 34.5 GB.

NOTE - in the example above, the folder "defrag" must exist before running this file. It won't create it automatically. You'll get an error if it doens't exist.

Saturday, November 1, 2008

Dealing with corrupt Exchange information stores

Here is Microsoft’s official process of dealing with corrupt information stores:
http://technet.microsoft.com/en-us/library/aa996027.aspx

Often, you can just run an eseutil a couple times on the private information store (but you must make sure that there is at least 20 GB free on the partition you’re running the eseutil on). Here is what you normally run in what order:

Eseutil /r e00 /i

Eseutil /p “d:\exchsrvr\mdbdata\priv1.edb”

Eseutil /d “d:\exchsrvr\mdbdata\priv1.edb”

isinteg –fix

Monday, November 5, 2007

Increasing the size of the private information store

  1. On the computer that is running Exchange Server, open a registry editor such as Regedit.exe or RegEdt32.exe.
  2. Navigate to: HKLM\ System\ CurrentControlSet\ Services\ MSExchangeIS\ ServerName\ Private-
  3. Right-click MailboxStoreGUID, point to New, and then click DWORD Value.
  4. For the new DWORD value, type Database Size Limit in Gb.
Double-click Database Size Limit in Gb. In Value data, type an appropriate value for maximum database size in GB (decimal value - less than 75). Click OK.

Also can be seen here: