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

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 01-28-2009, 02:42 AM
Active Member
 
Posts: 32
Default [SOLVED] Problem with total disk space usage.

Old topic. Exuse me for opening it again.

Being virtualized or being installed on not ext3 partition, Zimbra do not show Total disk space usage graphic of Zimbra partitions.

For example, for openvz we use simfs as a file system.

Here is the patch for simfs.

Code:
root@localhost:/opt/zimbra/libexec# diff -u zmdisklog.orig zmdisklog
--- zmdisklog.orig      2008-10-24 13:02:35.000000000 +0700
+++ zmdisklog   2008-10-23 12:49:36.000000000 +0700
@@ -45,7 +45,7 @@
        $MNTCMD = "mount -t hfs";
        $DFCMD = "df -ml ";
 } else {
-       $MNTCMD = "mount -t ext3";
+       $MNTCMD = "mount -t ext3,simfs";
        $DFCMD = "df -mlP ";
 }

@@ -78,7 +78,7 @@
                  close DF;
     } else {
                  ($dev,undef,$mp) = split(/\s+/,$m);
-                 open DF, "$DFCMD \"$dev\" | tail -1 |" or die "Can't open $DFCMD: $!";
+                 open DF, "$DFCMD \"$mp\" | tail -1 |" or die "Can't open $DFCMD: $!";
                  my @df = <DF>;
                  close DF;
     }
Nothings changed with new release It could easily be modified to suit partitions rather then EXT3
__________________
With best regards,
Reply With Quote
  #2 (permalink)  
Old 01-28-2009, 03:45 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by sn00p View Post
Old topic. Exuse me for opening it again.
I believe this has already been mentioned in several threads but here it is again:

Bug 13202 &ndash; No disk statistics when using ReiserFS - vote and add your comments from this thread if you want it fixed.
__________________
Regards


Bill
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.