How to Move Message Store and Index ...

Ask questions about your setup or get help installing ZCS server (ZD section below).
AlfaZulu
Posts: 4
Joined: Sat Sep 13, 2014 3:37 am

How to Move Message Store and Index ...

Postby AlfaZulu » Mon Apr 28, 2014 10:09 am

I WANT TO MOVE THE STORE AND INDEX DIRECTORIES FROM THEIR DEFAULT LOCATION IN /OPT/ZIMBRA TO A DIFFERENT LOCATION.
HERE IS WHAT I DID:


  • CREATE NEW DIRECTORIES



    MKDIR /MNT/DATA/ZIMBRA/STORE

    MKDIR /MNT/DATA/ZIMBRA/INDEX

    CHOWN /MNT/DATA/ZIMBRA/STORE ZIMBRA:ZIMBRA

    CHOWN /MNT/DATA/ZIMBRA/INDEX ZIMBRA:ZIMBRA



  • UPDATE THE STORE AND INDEX LOCATION

    IN THE ZIMBRA ADMIN CONSOLE, I NAVIGATE TO HOME > CONFIGURE > SERVERS > MAIL.MYDOMAIN.COM > VOLUMES. THERE I REASSIGN THE LOCATION OF STORE1 AND INDEX1.


THE PROBLEM:
THE PROBLEM IS THAT THE EXISTING MESSAGES IN THE PREVIOUS STORE AND INDEX LOCATIONS DO NOT MOVE TO THE NEW LOCATION. MOREOVER, USERS CANT LOAD MESSAGES LOCATED IN THE OLD LOCATIONS, INSTEAD THEY ARE MET WITH THE MESSAGES SUCH AS "MISSING BLOB FOR ITEM 263."
MY QUESTION:
WHAT IS THE RIGHT WAY TO MOVE THE MESSAGE STORE AND INDEX LOCATION? MOREOVER, HOW CAN I MOVE /OPT/ZIMBRA/DB AND /OPT/ZIMBRA/LOG?


avea2003
Posts: 13
Joined: Sat Sep 13, 2014 3:31 am

How to Move Message Store and Index ...

Postby avea2003 » Tue Apr 29, 2014 5:31 am

How right I don`nt now. But you can change path db and log command

su - zimbra

zmlocalconfig -e zimbra_log_directory=newpath to log

zimbra_db_directory is another parametr
AlfaZulu
Posts: 4
Joined: Sat Sep 13, 2014 3:37 am

How to Move Message Store and Index ...

Postby AlfaZulu » Wed Apr 30, 2014 5:38 am

[quote user="avea2003"]How right I don`nt now. But you can change path db and log command

su - zimbra

zmlocalconfig -e zimbra_log_directory=newpath to log

zimbra_db_directory is another parametr[/QUOTE]
I tried your suggestion but it didn't seem to work. For example, below I attempt to relocate the store directory:


zmlocalconfig -e zimbra_store_directory=/mnt/data/zimbra/store


Afterwards I tried both restarting the Zimbra server with zmcontrol restart as well as restarting the entire server with sudo shutdown -r now. After both restarts, the store directory didn't move.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests