Monday, June 29, 2009

Troubleshooting Exchange database

Running eseutil /mh "pathname\database.edb"

With this command, it is used to check the status of the database. When performing the command the database must be dismounted.
This will check the status of the database and the last committed log file.
Take note of the state:
State: Clean Shutdown' (or Dirty Shutdown)

If clean up status is clean shutdown, then we are able to delete the log files in in the log folder. But leave the last log file ard, then just start to mount the database again.

If inconsistent , then run
isinteg -pri -fix -test alltests

_______________________________________________

Running Eseutil /d "pathname\database.edb"

Eseutil / d is probably the commonest and the safest of eseutil's switches. This switch is to defrag the database.

To prepare for eseutil /d, first dismount the store.There is no need to stop the Information Store service, just dismount the individual stores in the Exchange System Manager.

Next, make sure that you have plenty of free disk space, at least as much as the priv.edb or store.edb that you wish to defrag.

Navigate in the cmd window to the \exchsrver\bin folder and issue a command such as this:

Example: eseutil /d "e:\exchsrvr\mdbdata\priv1.edb" (Or other path to your store)

If you really do not have enough free space try the Eseutil /d /t "f:\temp.edb". Where the f drive has enough free space. Always remember to remount the store once the defrag has finished.

** Never run repair switch /p unless last resort as it can destroy the storage database and you might have to get back from backup tape.


_________________________________

Some sites to assist in using the command :

http://www.computerperformance.co.uk/exchange2003/exchange2003_eseutil.htm

http://support.microsoft.com/kb/219419

http://support.microsoft.com/kb/192185


No comments:

Post a Comment