Results 1 to 5 of 5

Thread: Mail Stores via CIFS issue & advice?

  1. #1
    mr71mb0 is offline Starter Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    6

    Default Mail Stores via CIFS issue & advice?

    Hi,

    I have been testing ZCS OS and we are looking at rolling this out as a solution in the future.

    I am running ZCS OS 5.0.18 on Ubuntu Server 8.04, running as a vm on ESX 3.5 (soon esx4).

    I have been looking at ways to host the mail stores that will provide a flexibility for growth, backup and administration.

    The 1st option I have looked at is hosting this on our NetApp San via CIFS. I have mounted a share and was testing. I found this performed fine while using the zimbra web interface, but as soon as I moved to external IMAP clients (outlook 2003, Thunderbird etc), I started to get issues.

    When moving messages into other folders I'd get;

    the mail server responded: UID COPY Failed - in the client.

    and

    imap - UID COPY failed
    com.zimbra.common.service.ServiceException: system failure: Caught IOException executing com.zimbra.cs.imap.TcpImapHandler@1522e40
    ExceptionId:ImapSSLServer-4:1248347888210:529fe58d136a4262

    in the zimbra mailbox.log.


    As soon as I moved the Zimbra mail stores back to the local disk (/opt/zimbra/stores) all imap clients behaved normally.

    Doing some digging this looks like it's related to zimbra's use of hardlinks and the fact that cifs (and nfs?) don't support them. Can someone confirm this and offer any advice on using CIFS or NFS to host the zimbra mail stores?


    Thanks.

  2. #2
    thorng is offline Active Member
    Join Date
    Apr 2009
    Posts
    46
    Rep Power
    6

    Default

    I run my Zimbra mail store off an ext3 partition on a LVM Volume on a iSCSI Lun. If you already have the NetApp SAN backend, run it over the FC instead of the iSCSI.
    If you have the snapdrive from NetApp, you can expend the filesystem with just one command. You do have to shutdown the service when you expend the lun but it will take less than 10 minutes. Even without the NetApp software, you can do this with just several steps but all can be done with about 10 minutes downtime. I use CentOS/Redhat 5 and the included system-config-lvm can resize filesystem faster than commandline resize2fs. I think it is somehow able to bypass the filesystem check requirement of the resize2fs. This can be done safely and remotely all without rebooting the server.

  3. #3
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Lightbulb

    Hi all,
    Instead of mount the NFS or CIFS file system to /opt/zimbra/store, why don't you guys try to mount it on /opt. So that the configuration data will also go to the SAN. For backup&recovery strategies this will help I guess.
    Regards
    Adeel

  4. #4
    thorng is offline Active Member
    Join Date
    Apr 2009
    Posts
    46
    Rep Power
    6

    Default

    Yes, the lun hosts my entire /opt in my case as well.
    By the way since you are running on a vm, there is another way of doing this, you would create a sperated virtual disk for your /opt partition and make sure it is on top of an LVM volume. When you need to expand /opt, you can either add another virtual disk or replace it with a bigger virtual disk. As a feature of LVM, there is no downtime require to increase or migrate physical volumes. The downtime windows is require only on the last step (i.e. resize2fs). You would choose this option over iSCSI or FC if the FC adapter is for your host system and your vm boot off the virtual disk image that live on the NetApp anyway.

  5. #5
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Post

    One having FC shouldn't be having only mail store on an FC share.
    In all cases, /opt should be mounted rather than /opt/zimbra/store.
    Consider if /opt/zimbra/store have some link with some other storage (very reliable ), and we loose /opt/zimbra due to some storage corruption or hardware failure, we still have store with us i.e. mailboxes. But the recovery is not something piece of cake as we lake the mysql data. Please tell me if some one knows about taking backup and restoring the mysql of zimbra. This will really make the recovery easy in cases in which we have only /opt/zimbra/store in some other storage.
    FYI http://www.zimbra.com/forums/adminis...es-zimbra.html

    Regards
    Adeel

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. help with smtp auth
    By pheonix1t in forum Installation
    Replies: 1
    Last Post: 04-27-2009, 06:56 AM
  3. Migration Assistance
    By dwill in forum Administrators
    Replies: 10
    Last Post: 12-02-2008, 08:20 AM
  4. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09: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
  •