Results 1 to 10 of 10

Thread: change drive path

  1. #1
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    7

    Default change drive path

    I would like to implement zimbra OS but i would put mail store to another drive. How to change drive path for mail store?

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Welcome to the forums

    Install ZCS and once that has completed shut it down and then move /opt/zimbra/store to the new drive and create a symlink.

  3. #3
    Join Date
    Jul 2009
    Posts
    34
    Rep Power
    6

    Default

    More to the point, is there any way to add storage incrementally?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Yes, you can add additional HSM volumes. It also depends on what the underlying storage you are using aswell. If iSCSI/FC then you could either 1) present a new LUN extend the volume group and lvol or 2) Increase the size of the current LUN and dynamically expand it.

  5. #5
    Join Date
    Jul 2009
    Posts
    34
    Rep Power
    6

    Default

    I'm running it on CentoS 5 under ESX server. Let's say I add another virtual disk. It pops up as /dev/sdc, and I could format it with whatever file system. How would I make this available for mailbox storage?

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    If you are using LVM for the existing volume then just expand the VG with that disk and extend the filesystem.

  7. #7
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    11

    Default

    Quote Originally Posted by dreamgear View Post
    I'm running it on CentoS 5 under ESX server. Let's say I add another virtual disk. It pops up as /dev/sdc, and I could format it with whatever file system. How would I make this available for mailbox storage?
    - Add new vmware drive
    - Format it in OS as path like /opt/zimbra/store2
    - Make sure permission on it are same as /opt/zimbra/store
    - Go to zimbra admin --> servers --> volumes --> add new
    * check attached screenshot
    - make the new volume as "current message volume"
    * check attached screenshot
    - you may have to restart zimbra services

    * i have never tried this but technically it should work and all the new suff should happen on this new message volume and your old one should work just fine too.
    * this is for OSS version..for NE there is HSM which handels this better

    let me know how this works

    Raj
    Attached Images Attached Images
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  8. #8
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    As raj said, but you do not need to restart services. All new mail for all users will start being delivered to store2 as soon as it is marked active. If your vmware infrastructure supports adding a disk and the guest can see it without reboting, then no downtime is necessary.

    Eventually, store2 will fill up, at which point you can either add a store3 or make the original store, which should have some free space due to message/account deletion, active again.

    index volumes are different... once an account is on a given volume, it stays there. The active flag on an index volume only determines where the index for a newly created account will go.

  9. #9
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    7

    Default

    Thanks guys... for your help..

  10. #10
    Join Date
    Jul 2009
    Posts
    34
    Rep Power
    6

    Default

    But the jist of it is that there can only be one active message volume and one active index volume, each pointed to by a single simple path. If you want to extend to multiple volumes, you have to use the logical volume manager. Key point.

Similar Threads

  1. Replies: 29
    Last Post: 11-01-2012, 12:11 AM
  2. [SOLVED] Change store and db path of Zimbra
    By info@sibtonline.it in forum Administrators
    Replies: 6
    Last Post: 07-26-2009, 03:59 PM
  3. Change monitored drive?
    By ArcaneMagus in forum Administrators
    Replies: 1
    Last Post: 02-20-2007, 04:58 PM
  4. How to change the default path and port number
    By Joe Ng in forum Installation
    Replies: 0
    Last Post: 08-29-2006, 03:06 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
  •