Results 1 to 2 of 2

Thread: multiple volumes

  1. #1
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    6

    Default multiple volumes

    Dear All,

    User's asking to add second storage for message store in ZCS Open source
    edition (5.0.9). They used the local hard drive (/opt/zimbra/store ) for
    message volume in the beginning, and they're planning to add second
    message volume which is from another filesystem /store2.

    Can anyone advise what's the correct step to do this except adding
    a second message volume from Admin Console??

    another question is that after we change "current message volume"
    to this /store2 filesystem. can users still access their previous messages
    which were stored in /opt/zimbra/store ?

    Any comment will be highly appreciated.
    Rgds,
    Kevin

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    The admin console > server > volumes tab is straight forward, make sure you have permission to write to the target location - see also: CLI zmvolume - Zimbra :: Wiki
    (-l and -dc arguments display your volumes)

    If you're curious how to view that in the DB:
    su - zimbra
    mysql
    select * from zimbra.volume;

    Quote Originally Posted by tiger2000 View Post
    another question is that after we change "current message volume" to this /store2 filesystem. can users still access their previous messages which were stored in /opt/zimbra/store ?
    Yes, just realize they're NOT moved in this process, you're only pointing at the location to store any NEW data. (See below explanation.)

    Thus you shouldn't remove the old store, but alternatively if you want new store2 to hold the contents of the old store as well - just move the blobs first: Volumes : Ajcody-Notes - Zimbra :: Wiki

    Promised Explanation:
    Each Zimbra mailbox server is configured with one current index & message (NE can add secondary HSM volumes).

    When a new message is delivered or created, the message is saved in the current message volume. Additional message volumes can be created, but only one is configured as the current volume where new messages are stored. When the volume is full, you can configure a new current message volume. The current message volume receives all new messages. New messages are never stored in the previous volume. A current volume cannot be deleted. If there are accounts with messages referencing a volume it should not be deleted until you point the volume path to wherever you've now moved the items.

    Each mailbox is assigned to a permanent index directory on the current index volume. When an account is created, the current index volume is automatically defined for the account. You cannot change which index volume the account is assigned. As volumes become full, you can create a new current index volume for new accounts. When a new index volume is added as current, the older index volume is no longer assigned new accounts. Index volumes not marked current are still actively in use as the index volumes for accounts assigned to them. Any index volume that is referenced by a mailbox as it's index volume cannot be deleted.

    (Also a handy tidbit of info: http://www.zimbra.com/forums/adminis...e-volumes.html - first tip is good for HSM > back to store, Klug's also points out that you can essentially use the same concept of Adam's above wiki link; making it a subdirectory of the new filesystem location keeps it simple.)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 08:52 PM
  2. Hosting multiple domains, do I need multiple reverse dns?
    By tonythemediaguy in forum Administrators
    Replies: 1
    Last Post: 04-29-2008, 03:21 PM
  3. Multiple Domains w/ SSL
    By msf004 in forum Installation
    Replies: 2
    Last Post: 07-30-2007, 10:48 AM
  4. Replies: 4
    Last Post: 08-10-2006, 10:55 PM
  5. Multiple domains with multiple GALs
    By alexz in forum Installation
    Replies: 2
    Last Post: 02-05-2006, 11:24 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
  •