Results 1 to 5 of 5

Thread: ZCS Backup Report: FAIL

  1. #1
    carlswart is offline Member
    Join Date
    Sep 2007
    Posts
    11
    Rep Power
    7

    Default ZCS Backup Report: FAIL

    I have upgraded ZCS from 5.0.18 to 6.0.5 on CentOS4.

    Release 6.0.5_GA_2214.RHEL4_20100202202825 CentOS4 NETWORK edition.

    The upgrade completed without any errors, or so it seems.

    When I try to run full backup, it fails.

    The error message is:
    Server: zimbra.example.com

    Label: full-20100221.080024.698
    Type: full
    Status: completed (with errors)
    Started: Sun, 2010/02/21 10:00:24.698 SAST
    Ended: Sun, 2010/02/21 10:09:06.592 SAST
    Redo log sequence range: 5744 .. 5744
    Number of accounts: 1
    Number of errors: 1


    ERRORS

    email@example.com: Input/output error
    java.io.IOException: Input/output error
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java: 177)
    at com.zimbra.common.util.FileUtil.copyOIO(FileUtil.j ava:204)
    at com.zimbra.common.util.FileUtil.copyOIO(FileUtil.j ava:194)
    at com.zimbra.common.io.AsyncFileCopier$WorkerThread. copy(AsyncFileCopier.java:155)
    at com.zimbra.common.io.AsyncFileCopier$WorkerThread. run(AsyncFileCopier.java:115)


    Below is a full backup of one of the problem accounts.

    Only the 2 BIG accounts fail with the same error below.

    The email@example.com is 4.4GB as per the ZWC.

    I tried to export the account using:
    /opt/zimbra/bin/zmmailbox -z -m email@example.com getRestURL "//?fmt=tgz" > /backup/email-example-com.tgz

    This created a 2185685471 bytes file:
    -rw-r--r-- 1 root root 2185685471 Feb 21 08:23 email-example-com.tgz

    Testing the .tgz file, it gives me errors:
    [root@zimbra backup]# file email-example-com.tgz
    email-example-com.tgz: gzip compressed data, from MS-DOS
    [root@zimbra backup]# tar tzvf email-example-com.tgz | less
    [root@zimbra backup]# mkdir tmp
    [root@zimbra backup]# cd tmp/
    [root@zimbra tmp]# tar zxf ../email-example-com.tgz
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now

    Does /tmp directory get used by zmbackup?

    What else can I try?
    Last edited by carlswart; 02-21-2010 at 02:37 AM. Reason: Added error message

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    I'm not sure what this has to do with the NE backup nor what you're trying to achieve, perhaps you could explain in a bit more detail. If you wish to export a mailbox then you should do that as root and store it in another directory so you can work on it, the 'tmp' directory should already exist in the /backup dir and the NE backup does use it during a restore.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    carlswart is offline Member
    Join Date
    Sep 2007
    Posts
    11
    Rep Power
    7

    Default

    I added the error message to the original post to make the post complete. Sorry about that.

    Below is hopefully a better explanation.

    Goal:
    Main: Create a full backup of ZCS after the upgrade to 6.0.5.
    Sub Goal: Test the ZCS NE 6.0.5 backup tools.

    Action Taken:
    Try 1: zmbackup -a example@example.com -d -f -t /backup/tmp/
    Try 2: zmbackup -a example@example.com -d -f --noZip -t /backup/tmp/

    Results:
    Results 1:
    Server: zimbra.example.com

    Label: full-20100219.230005.554
    Type: full
    Status: completed (with errors)
    Started: Sat, 2010/02/20 01:00:05.554 SAST
    Ended: Sat, 2010/02/20 03:42:50.626 SAST
    Redo log sequence range: 5743 .. 5743
    Number of accounts: 1
    Number of errors: 1


    ERRORS

    example@example.com: Input/output error
    java.io.IOException: Input/output error
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java: 177)
    at com.zimbra.cs.backup.util.ZipUtil.computeCRC32(Zip Util.java:24)
    at com.zimbra.cs.backup.util.ParallelZipCopier$ZipCop ierThread.run(ParallelZipCopier.java:185)

    Results 2:
    Server: zimbra.example.com

    Label: full-20100221.080024.698
    Type: full
    Status: completed (with errors)
    Started: Sun, 2010/02/21 10:00:24.698 SAST
    Ended: Sun, 2010/02/21 10:09:06.592 SAST
    Redo log sequence range: 5744 .. 5744
    Number of accounts: 1
    Number of errors: 1


    ERRORS

    example@example.com: Input/output error
    java.io.IOException: Input/output error
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java: 177)
    at com.zimbra.common.util.FileUtil.copyOIO(FileUtil.j ava:204)
    at com.zimbra.common.util.FileUtil.copyOIO(FileUtil.j ava:194)
    at com.zimbra.common.io.AsyncFileCopier$WorkerThread. copy(AsyncFileCopier.java:155)
    at com.zimbra.common.io.AsyncFileCopier$WorkerThread. run(AsyncFileCopier.java:115)

    Conclusion:
    The problem does not have anything to do with the zip compression.

    Solution?
    None that I know of at present.

    --
    Regards,
    -Carl
    Last edited by carlswart; 02-21-2010 at 02:51 AM. Reason: Created a better defined post - hopefully

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Is your /opt/zimbra/backup folder actually on a local disk, is it mounted elsewhere or is it a link to another mountpoint?

    BTW, why are you trying to use this folder /backup/tmp/ for the backup and is that in the normal /opt/zimbra directory?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    carlswart is offline Member
    Join Date
    Sep 2007
    Posts
    11
    Rep Power
    7

    Default

    /opt/zimbra/backup is locally mounted on /dev/md3. Actually / is mounted on /dev/md3 and /opt/zimbra/backup is only a normal sub directory on /dev/md3. /dev/md3 consists of /dev/sda5 and /dev/sdc5, which are local disks.

    I first noticed the backup is not completing while backing up to /opt/zimbra/backup.

    I am setting the target for the backup to /backup/tmp because I am trying to debug the problem. /backup is mounted on /dev/sdb1 which is a 400GB local disk.

    So to answer your questions:
    Is your /opt/zimbra/backup folder actually on a local disk, is it mounted elsewhere or is it a link to another mountpoint?
    /opt/zimbra/backup is mounted on a local disk.

    BTW, why are you trying to use this folder /backup/tmp/ for the backup and is that in the normal /opt/zimbra directory?
    I am using /backup/tmp during the debugging phase. The initial problem appeared while backing up to /opt/zimbra/backup. No /backup/tmp does NOT form part of /opt/zimbra.

    ________________
    Carl

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Backup Report: FAIL
    By yatar in forum Administrators
    Replies: 4
    Last Post: 12-21-2009, 12:26 AM
  2. [SOLVED] Zimbra Backup Report: FAIL
    By padraig in forum Administrators
    Replies: 15
    Last Post: 07-15-2009, 10:13 AM
  3. zimbra opesource Backup Script Problem!
    By tashi in forum Administrators
    Replies: 4
    Last Post: 03-30-2009, 11:49 PM
  4. ZCS Backup Report: FAIL
    By IIBARKERII in forum Administrators
    Replies: 2
    Last Post: 10-28-2008, 04:24 PM
  5. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 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
  •