Microsoft KB Archive/823167

From BetaArchive Wiki

Article ID: 823167

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition




SUMMARY

This article describes how to use the Eseutil utility to perform a checksum procedure on a streaming file in Exchange Server 2003.

back to the top

How To Use the Eseutil Utility to Perform a Checksum Procedure on a Streaming File

Exchange 2003 uses a checksum procedure to confirm the data integrity of pages in the database. To perform a checksum procedure on a streaming file, you can use the Eseutil utility that is included in Exchange Server 2003. The Eseutil utility in Exchange 2003 includes a switch (/k) that you can use to verify the page-level integrity of the information store databases. The following optional command-line switches are associated with the /k switch:

  • /s<file> Use this switch to specify the streaming file name. The default setting is none.
  • /t<db> Use this switch to specify the temporary database name. The default name is Tempchksum*.edb.
  • /e Use this switch if you do not want to perform a checksum procedure on the database file.
  • /i Use this switch if you do not want to perform a checksum procedure on the streaming file.
  • /o Use this switch to suppress the Microsoft logo.

Note Eseutil replaces the Microsoft Exchange Server 2000 and Exchange Server 5.5 Esefile support utility.

Note The integrity check does not run a database recovery. If a database is inconsistent, or in a "dirty shutdown" state, Microsoft recommends that you perform a recovery operation to make sure that database operations are completed correctly. After you perform the recovery operation, you can use the Eseutil utility to perform the integrity check. For more information about disaster recovery, click the following article number to view the article in the Microsoft Knowledge Base:

326052 White paper - Disaster recovery for Microsoft Exchange 2000 Server


Note Before you use the Eseutil utility, use Exchange System Manager to dismount the stores that you want to examine.

To perform a checksum procedure on the streaming file, follow these steps:

  1. Click Start, and then click Run.
  2. In the Open box, type cmd, and then click OK
  3. Switch to the C:\Program Files\ExchSrvr\Bin folder, and then type one of the following commands (as appropriate to your situation), and then press Enter:
    • To check the integrity of the public information store database:


eseutil /k "c:\program files\exchsrvr\mdbdata\pub1.stm"

    • To check the integrity of the private information store database:


eseutil /k "c:\program files\exchsrvr\mdbdata\priv1.stm"

The following is a sample output file that appears after you run the previous command:

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating CHECKSUM mode...
  Streaming File: C:\Program Files\Exchsrvr\MDBDATA\priv1.stm
                  (NOTE: only header pages will be validated)


File: C:\Program Files\Exchsrvr\MDBDATA\priv1.stm

                     Checksum Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


2 pages seen
0 bad checksums
0 uninitialized pages
0 wrong page numbers

1 reads performed
0 MB read
1 seconds taken
0 MB/second
20 milliseconds used
20 milliseconds per read
20 milliseconds for the slowest read
20 milliseconds for the fastest read


Operation completed successfully in 1.372 seconds.


Additional query words: xadm, eseutil

Keywords: kbhowtomaster KB823167