Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-10-2009, 05:50 AM
Starter Member
 
Posts: 2
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
Reply With Quote
  #2 (permalink)  
Old 08-10-2009, 05:51 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #3 (permalink)  
Old 08-11-2009, 12:39 PM
Active Member
 
Posts: 34
Default

More to the point, is there any way to add storage incrementally?
Reply With Quote
  #4 (permalink)  
Old 08-11-2009, 11:58 PM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #5 (permalink)  
Old 08-12-2009, 08:03 AM
Active Member
 
Posts: 34
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?
Reply With Quote
  #6 (permalink)  
Old 08-12-2009, 08:29 AM
Moderator
 
Posts: 7,928
Default

If you are using LVM for the existing volume then just expand the VG with that disk and extend the filesystem.
__________________
Reply With Quote
  #7 (permalink)  
Old 08-12-2009, 10:06 AM
raj raj is offline
Moderator
 
Posts: 768
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
File Type: jpg add_volume.jpg (25.9 KB, 51 views)
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #8 (permalink)  
Old 08-12-2009, 10:29 AM
Outstanding Member
 
Posts: 708
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.
Reply With Quote
  #9 (permalink)  
Old 08-13-2009, 05:27 AM
Starter Member
 
Posts: 2
Default

Thanks guys... for your help..
Reply With Quote
  #10 (permalink)  
Old 08-18-2009, 12:26 PM
Active Member
 
Posts: 34
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.