How to delete index data
- This article is a Work in Progress, and may be unfinished or missing sections.
Remove index data user wise
Process
- Get the exact location of user's index data.
- Delete only data using 'rm-rf' command and not directories
- Execute the reindex command to re-create index data.
Following are the exact steps to remove and re-create the index data
- Pick user 'user@example.com' and obtain the mailbox ID:
zmprov gmi user@example.com
- Once you got the ID, for example '13', then the location of the index data would be:
/opt/zimbra/index/0/13/index/0
If ID is 14, then the location would be :
/opt/zimbra/index/0/14/index/0
- Now required to remove data from '/opt/zimbra/index/0/13/index/0/' location.
rm -rf /opt/zimbra/index/0/13/index/0/*
- Reindex account.
zmprov rim user@example.com start
It will regenerate the index for "user@example.com" account.
- To know the status of reindex
zmprov rim user@example.com status
Submitted by: Navdeep Mathur |