Results 1 to 7 of 7

Thread: Zimbra Disk Statistics, non-EXT3 Volumes

  1. #1
    ccmacmil is offline Member
    Join Date
    Feb 2006
    Posts
    12
    Rep Power
    9

    Default Zimbra Disk Statistics, non-EXT3 Volumes

    The disk status logger seems to be biased towards Linux EXT3 volumes and Mac HFS. I assume this is the case to avoid stats on TMPFS, PROC, etc.

    Code:
    if ($platform eq "MACOSX") {
            $MNTCMD = "mount -t hfs";
            $DFCMD = "df -ml ";
    } else {
            $MNTCMD = "mount -t ext3";
            $DFCMD = "df -ml ";
    }
    This creates a problem for SAN users running XFS or SUSE users running reisferfs. I have modified mine to accept these additional file systems by:

    Code:
    if ($platform eq "MACOSX") {
            $MNTCMD = "mount -t hfs";
            $DFCMD = "df -ml ";
    } else {
            $MNTCMD = "mount -t ext3,reiserfs,xfs";
            $DFCMD = "df -ml ";
    }
    Will this cause any troubles down the line??? This does not solve the problem of statistics greater than 24 hours... nor the "hostname" statistics issue (i.e. data stored as "host" instead of "host.domain.tld" and recalled from table as "host" yielding nothing...)

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    May not cause trouble with the stats, but using a file system on Linux other than ext3 is not recommended. Don't want to start a 'which file system is better' war here but from the testing and work we've done ext3 is the way to go. Might just be based on how Zimbra uses the file system but it the file system we recommend.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Dirk's Avatar
    Dirk is offline Moderator
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Sorry to drag open an old thread.

    I assume this change will be overwritten when updating zimbra?

    I understand that Zimbra recommend an ext3 filesystem, (although I dont recall reading that anywhere before I formatted as reiser), but the current code fails and offers no clue why.

    Could Zimbra please anclude this change in the codebase so that the graphs will work for everyone, supported FS or not, or add error checking to the code that shows a message like "Graphs not available, you need an ext3 partition" ?

  4. #4
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Yes the change is overwritten with every upgrade and has to be re-applied.

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

    Default

    Quote Originally Posted by Dirk View Post
    I understand that Zimbra recommend an ext3 filesystem, (although I dont recall reading that anywhere before I formatted as reiser), but the current code fails and offers no clue why.
    I had a feeling that it was mentioned in the Documention but for the life of me, I can't find it. The only current reference I can see is in the Performance Tuning for Large Deployments.

    There is, of course, the inevitable bug report.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Dirk's Avatar
    Dirk is offline Moderator
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Whoa! This one is a blast from the past
    I'd check to confirm this but I dont have a non ext3 system anymore, but if anyone has a reiser or ext2 etc platfrom that they find the charts work as default on, then please make a note and we can retire this thread back into the dusty cupboards !

  7. #7
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    As the original poster stated...to get the disk stats working with anything other than ext3 you will need to modify /opt/zimbra/libexec/zmdisklog as the default version installed will only run statistics on partitions that are returned with the "mount -t ext3" command. All other partitions are ignored. This has been true since at minimum 4.5.1 (when I first installed Zimbra).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  3. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 11:59 AM
  4. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •