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 03-31-2009, 03:02 AM
Advanced Member
 
Posts: 193
Default Zimbra Eating Lot of HDD

Zimbra Server is eating space.All of sudden server is starting eating space .
__________________
Abhiz
http://abhishekamralkar.blogspot.com
Reply With Quote
  #2 (permalink)  
Old 03-31-2009, 03:05 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by abhiz View Post
Zimbra Server is eating space.All of sudden server is starting eating space .
That tells us nothing about the problem. Where is all the space going, which files or directories are increasing, when did this start? Without details it's impossible to give you any answer, please do some investigation of your server and see where the space is going.
__________________
Regards


Bill

Last edited by phoenix; 03-31-2009 at 03:10 AM..
Reply With Quote
  #3 (permalink)  
Old 03-31-2009, 04:32 AM
raj raj is offline
Moderator
 
Posts: 768
Default

As phoenix said you did not give enough information. So please provide the output of the folliowng:

du -sh /opt/zimbra
du -sh /opt/zimbra/logger
du -sh /opt/zimbra/log
du -sh /opt/zimbra/store

df -h



Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #4 (permalink)  
Old 03-31-2009, 04:42 AM
Advanced Member
 
Posts: 193
Default

32G /opt/zimbra

26G /opt/zimbra/logger

290M /opt/zimbra/log

4.4G /opt/zimbra/store

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 146G 38G 101G 28% /
varrun 1013M 3.2M 1010M 1% /var/run
varlock 1013M 0 1013M 0% /var/lock
udev 1013M 44K 1013M 1% /dev
devshm 1013M 0 1013M 0% /dev/shm
__________________
Abhiz
http://abhishekamralkar.blogspot.com
Reply With Quote
  #5 (permalink)  
Old 03-31-2009, 05:11 AM
raj raj is offline
Moderator
 
Posts: 768
Default

Well clearly the logger folder is the one hogging all the space.
you can clean the logger by deleteing and recreating it..

************************************************** **************

Open Source Edition Backup Procedure - Zimbra :: Wiki
Backup your full zimbra install before running the following steps.

************************************************** **************
log into zimbra server and run all the following in a sequence


su - zimbra
logmysql.server stop
logout
rm -rf /opt/zimbra/logger/db/data/*
chown zimbra:zimbra /opt/zimbra/db/data
chmod 775 /opt/zimbra/db/data
cd /opt/zimbra/libexec
./zmloggerinit
./zmfixperms --verbose --extended
su - zimbra
zmlogswatchctl start



After this your HDD usage of Zimbra install willl be 6 GB instead of 32 GB

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider

Last edited by raj; 03-31-2009 at 05:14 AM..
Reply With Quote
  #6 (permalink)  
Old 03-31-2009, 05:14 AM
Moderator
 
Posts: 7,928
Default

Caveat: you will loose your statistical information though.
__________________
Reply With Quote
  #7 (permalink)  
Old 03-31-2009, 05:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Surely the question to ask is why is the logger consuming so much space? http://wiki.zimbra.com/index.php?tit...roubleshooting
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 03-31-2009, 05:36 AM
Advanced Member
 
Posts: 193
Default

Thanks for the help...

cheers!!!!!!!!!!1
__________________
Abhiz
http://abhishekamralkar.blogspot.com
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.