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-14-2008, 08:09 AM
Active Member
 
Posts: 32
Default [SOLVED] Disk Usage Stats Issue

I hope that the Disk Usage graphs on my system are not correct.

We are running FOSS GA 5.0.0 on Ubuntu 6.06.

Two 250 GB HD in software raid using reiserfs.

Modified zmdisklog as indicated below:

Code:
if ($platform =~ /MACOSX/) {
	$MNTCMD = "mount -t hfs";
	$DFCMD = "df -ml ";
} else {
#shm20080103	$MNTCMD = "mount -t ext3";
	$MNTCMD = "mount -t reiserfs";	#shm20080103
	$DFCMD = "df -mlP ";
}
df yields the following (I know I could have done a better job with partitioning):
Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0             234228428  16202780 218025648   7% /
varrun                 2076196        40   2076156   1% /var/run
varlock                2076196         4   2076192   1% /var/lock
udev                   2076196        80   2076116   1% /dev
devshm                 2076196         0   2076196   0% /dev/shm
A screen shot of Disk_Usage graph is attached.

Can someone explain why Disk_Usages shows more than half my capacity used while df indicates we have used only 7% of our disk space?

Thanks in advance!
Mack
Attached Images
File Type: jpg diskUsage.JPG (19.6 KB, 96 views)
Reply With Quote
  #2 (permalink)  
Old 01-14-2008, 07:06 PM
Moderator
 
Posts: 6,236
Default

If you look at the green as the drive size = 230k
& blue as the space available = 218k
The key is the minimum shown on that graph = 200k
I believe this bug was meant to address it: Bug 17303 - disk stats graph should use "0" to "Total Size" for the "Y-axis"
Reply With Quote
  #3 (permalink)  
Old 01-15-2008, 05:46 AM
Active Member
 
Posts: 32
Default

Thanks for pointing the scale out. You'd think an engineer (me) would have been smart enough to figure that out. Sorry!

Mack
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 06:36 AM
Moderator
 
Posts: 2,207
Default

You're not the only one 8)

Marking as solved then.
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.