Results 1 to 9 of 9

Thread: Move data store.

  1. #1
    santunez is offline Member
    Join Date
    Oct 2007
    Posts
    12
    Rep Power
    7

    Unhappy Move data store.

    Hello Team.

    I have installed zimbra 4.5 in CenTos 5, and need move de store folder in other partition.

    The actual partition /opt/ have 100Gb, and need moved the store folder to /home folder with 300GB.

    I need help by this issue.

    Thanks

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Can you move the /opt to your new mount? If not, a symlink should be fine. Just be sure it's not an NFS mount. NFS has locking and latency issues.

  3. #3
    newbie_sg is offline Starter Member
    Join Date
    Nov 2007
    Location
    Singapore
    Posts
    2
    Rep Power
    7

    Default Follow Up question - move data store

    I have a similar situation. My data store is currently in /opt/zimbra/store and I need to move it to a larger partition /data.

    Is it not possible to do this using the CLI zmvolume? I do not have much experience with linux and I'm looking for the simplest way to do this.

  4. #4
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Nope. Your best bet is a symlink.

  5. #5
    j_jpr is offline Starter Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    4

    Default MOve Data Store

    I have a similar situation. My data store is currently in /opt/zimbra/store and I need to move it to a larger partition /data.

    I do not have much experience with linux and I'm looking for the simplest way to do this.[/QUOTE]

  6. #6
    fcash is offline Elite Member
    Join Date
    Jun 2007
    Location
    BC, Canada
    Posts
    281
    Rep Power
    8

    Default

    Quote Originally Posted by newbie_sg View Post
    I have a similar situation. My data store is currently in /opt/zimbra/store and I need to move it to a larger partition /data.

    Is it not possible to do this using the CLI zmvolume? I do not have much experience with linux and I'm looking for the simplest way to do this.
    # cd /opt/zimbra
    # mkdir /data/zimbra
    # mv store /data/zimbra/
    # ln -s /data/zimbra/store .

    That moves the /opt/zimbra/store/ directory to /data/zimbra/store/.

    Then creates a symlink from /data/zimbra/store/ to /opt/zimbra/store. That way, Zimbra can be started as per normal. It will write it's data to /opt/zimbra/store ... which is really /data/zimbra/store.
    Freddie

  7. #7
    timothyalangorman is offline Special Member
    Join Date
    May 2007
    Posts
    173
    Rep Power
    8

    Default

    Quote Originally Posted by fcash View Post
    # cd /opt/zimbra
    # mkdir /data/zimbra
    # mv store /data/zimbra/
    # ln -s /data/zimbra/store .

    That moves the /opt/zimbra/store/ directory to /data/zimbra/store/.

    Then creates a symlink from /data/zimbra/store/ to /opt/zimbra/store. That way, Zimbra can be started as per normal. It will write it's data to /opt/zimbra/store ... which is really /data/zimbra/store.
    And Upgrades will perform normal through the symbolic Links????
    I mean the OS should just pass the links on as static locations correct???

    thanks
    Timg
    Centos 5.x 64 bit (migrated painfully)

    Zimbra 7.2.x

    Running on HP DL380 G8 with raid 10

    48 gb ram

    __________________________________________________ _____

  8. #8
    fcash is offline Elite Member
    Join Date
    Jun 2007
    Location
    BC, Canada
    Posts
    281
    Rep Power
    8

    Default

    That is how symlinks work.
    Freddie

  9. #9
    hhemof is offline Junior Member
    Join Date
    Oct 2011
    Posts
    5
    Rep Power
    3

    Default Wondeful solution. Thank you for your wonderful solution.

    Wondeful solution. Thank you for your wonderful solution. (perfect and simple way ... )

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. mysql data store rebuild
    By ashelley in forum Administrators
    Replies: 3
    Last Post: 03-23-2010, 03:39 PM
  2. Change the volumes of Zimbra's data
    By Nico in forum Administrators
    Replies: 4
    Last Post: 11-07-2008, 02:54 PM
  3. suggestion on populating new store with old accounts
    By maumar in forum Administrators
    Replies: 1
    Last Post: 08-22-2007, 03:23 PM
  4. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  5. Zimbra Mail Store Question (need to prove something)
    By dlochart in forum Administrators
    Replies: 7
    Last Post: 03-13-2007, 07:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •