ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Open Source Edition

Appendix A Command-Line Utilities > Detect Corrupted Indexes

Detect Corrupted Indexes
Run zmprov verifyIndex as a sanity check for the specified mailbox index. Diagnostic information is written to stdout. If problems are detected, a failure status is returned.
VerifyIndex locks the index while it's running, and checks every byte in the index. Therefore, it's not recommended to run this on a regular basis such as in a cron job. The zmprov verifyIndex command should be used only when you need to make a diagnosis.
zmprov verifyIndex <user@example.com>
If VerifyIndex reports that the index is corrupted, you can repair the mailbox index by running reIndexMailbox (rim).
zmprov rim <user@example.com> start
zmprov Log Categories
Copyright © 2012 VMware Inc.