Results 1 to 3 of 3

Thread: .../ldap/mdb/db/data.mdb exlposive growth (74GiB!) from upgrade 8.0.0 ==> 8.0.6

  1. #1
    cjm51213 is offline Active Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    3

    Default .../ldap/mdb/db/data.mdb exlposive growth (74GiB!) from upgrade 8.0.0 ==> 8.0.6

    Hi Folks,

    On 2014.02.27 I upgraded from 8.0.0 to 8.0.6 (Release 8.0.6_GA_5922.RHEL6_64_20131203103705 RHEL6_64 FOSS edition.) Mail traffic, for the most part is unchanged, and that is good news. I have noticed that before the upgrade, /opt/zimbra/data/ldap/mdb/db/data.mdb was 31M and after the upgrade, it is 74GIG!!! Now, that can't be right...

    As a diagnostic, I preserved the existing data.mdb and lock.mdb with mv and copied my backup in place. When I fired up zimbra, "zmcontrol start", I discovered that my copied LDAP database was now 74GIG, so this may very well be an upgrade issue. The difference is that my heavy-handed copy did not succeed. meaning slapd did not successfully start, and I have removed the offending 8.0.0 database, restored the 8.0.6 database and, with the exception of the enormous size data.mdb, everything is working.

    I see no evident changes between 8.0.0 and 8.0.6 when I investigate https://cahoots.tryx.org:7071/ ... It appears that the configuration is unchanged in the last few days, meaning since 8.0.0 when the configuration looked to be exactly the way I wanted it to be.

    So, ...

    Is there an LDAP analysis/repair tool? If there is but it doesn't discover and/or repair any defects, How can I migrate my version 8.0.0 LDAP database from my backup to 8.0.6?

    Thanks for the help,

    Chris.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    Default

    Quote Originally Posted by cjm51213 View Post
    I have noticed that before the upgrade, /opt/zimbra/data/ldap/mdb/db/data.mdb was 31M and after the upgrade, it is 74GIG!!! Now, that can't be right...
    Yes it can, it's a sparse file and this is in the Release Notes and covered in several forum threads (and a wiki article) - search the forums and have a read of those threads.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    cjm51213 is offline Active Member
    Join Date
    Aug 2012
    Posts
    40
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    Yes it can, it's a sparse file and this is in the Release Notes and covered in several forum threads - search the forums and have a read of those threads.
    Yes. Thanks very much. After I calmed down, and with the benefit of organizing my thinking by writing a post here, that is precisely what I did, and I found that this is a setting which can be changed. Not at all clear why it defaults to such a huge value, but I assume there is a reason.

    For the benefit of those that follow me: ldap database went from 97meg to 86gig

    Thanks for the help,

    Chris.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 22
    Last Post: 03-20-2014, 10:47 PM
  2. Replies: 3
    Last Post: 01-28-2013, 09:28 PM
  3. Replies: 1
    Last Post: 11-25-2012, 01:30 PM
  4. 4.5 to 5.0 OSS upgrade on Ubuntu kills all LDAP data
    By RoadRunnr in forum Installation
    Replies: 8
    Last Post: 12-30-2007, 07:47 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
  •