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

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
  #11 (permalink)  
Old 04-14-2010, 02:05 PM
Advanced Member
 
Posts: 213
Default tune2fs

Based on the below number, it looks like you do actually have some free space on /dev/md0, but is reserved (betting this is ext3 filesystem). So you couldrun tune2fs and drop-down the reserved file-space (default is 5% I think). That would give you a little breathing room, but you would of course still have to cut back on your disk usage. Some something like "tune2fs -m 2 /dev/md0" to set it to 2%

Ext3 Filesystem Tips - ArchWiki

Once you you get a handle and cut back on usage, would recommend you set it back to 5%

Quote:
Originally Posted by afunez2009 View Post
I think the os and zimbra are on the same volume

mail:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md0 108G 102G 124M 100% /
tmpfs 506M 0 506M 0% /lib/init/rw
udev 10M 68K 10M 1% /dev
tmpfs 506M 0 506M 0% /dev/shm
Reply With Quote
  #12 (permalink)  
Old 04-14-2010, 02:57 PM
Intermediate Member
 
Posts: 23
Question

Quote:
Originally Posted by king0770 View Post
Run the command as root. Switch to the root user, then run the command. It will take the command a while to complete, so be patient. The run down would look something like this:

su - <press return>

<enter root's password> <press return>

cd /

find . -maxdepth 1 -exec du -sh '{}' \;

Not sure, but you may need to add -print at the end of command.

find . -maxdepth 1 -exec du -sh '{}' \; -print
I find the large files:
One is 46GB: /opt/zimbra/log/zmmtaconfig.log
Other is 49GB: /opt/zimbra/logger/db/data/mail.err

The question is: can i delete this files directly or i have to empty the logs??

What commands i have to use for this?

Help me plese!!


Thanks For your help
Reply With Quote
  #13 (permalink)  
Old 04-14-2010, 03:24 PM
Zimbra Employee
 
Posts: 184
Default

You should be able to zero out the zmmtaconfig.log file, as zimbra run:

cd ~/log/

> zmmtaconfig.log

ls -la zmmtaconfig.log

Size should be considerably less.

As far as the mail.err file, might take a look at what's writing to the file. Just a guess but maybe one of the logger tables is corrupted (just a guess though).

You could remove the mail.err file and reinitialize the logger DB by doing the following

$ zmloggerctl stop
$ rm -rf /opt/zimbra/logger/db
$ source /opt/zimbra/bin/zmshutil
$ zmsetvars
$ /opt/zimbra/libexec/zmloggerinit ${mysql_logger_root_password}
$ zmlogswatchctl start

Or...

Since the logger service is not critical you could disable the logger service.
Reply With Quote
  #14 (permalink)  
Old 04-14-2010, 03:40 PM
Intermediate Member
 
Posts: 23
Lightbulb

Quote:
Originally Posted by king0770 View Post
You should be able to zero out the zmmtaconfig.log file, as zimbra run:

cd ~/log/

> zmmtaconfig.log

ls -la zmmtaconfig.log

Size should be considerably less.

As far as the mail.err file, might take a look at what's writing to the file. Just a guess but maybe one of the logger tables is corrupted (just a guess though).

You could remove the mail.err file and reinitialize the logger DB by doing the following

$ zmloggerctl stop
$ rm -rf /opt/zimbra/logger/db
$ source /opt/zimbra/bin/zmshutil
$ zmsetvars
$ /opt/zimbra/libexec/zmloggerinit ${mysql_logger_root_password}
$ zmlogswatchctl start

Or...

Since the logger service is not critical you could disable the logger service.
I clean the zmmtaconfig.log, and then mail.err go to 84kb of size, i don't known why, but is very good

Thanks a lot for your help
Reply With Quote
  #15 (permalink)  
Old 04-14-2010, 09:02 PM
Elite Member
 
Posts: 338
Default

or you can mount an other harddisk to /opt/zimbra directory (you'll have more capability)
or you can move index + message volume to an other harddisk(your old volume still be used but all new data will be stored in new harddisk)
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.