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
  #1 (permalink)  
Old 04-14-2010, 08:34 AM
Intermediate Member
 
Posts: 23
Lightbulb Zimbra Hard Disk Full

Hello
I need Help!

My Disk is full /dev/md0 Use 100%, what i can do??

Can I delete Temp Files, or clean log files?

How i known what files filled my disk, what kind of command i have to execute??

Thanks for your help!
Reply With Quote
  #2 (permalink)  
Old 04-14-2010, 09:53 AM
Moderator
 
Posts: 1,554
Default

is /dev/md0 mounted to /opt/zimbra, or is zimbra on the same volume as the OS?
Reply With Quote
  #3 (permalink)  
Old 04-14-2010, 10:16 AM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by bdial View Post
is /dev/md0 mounted to /opt/zimbra, or is zimbra on the same volume as the OS?
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
  #4 (permalink)  
Old 04-14-2010, 10:19 AM
Moderator
 
Posts: 1,554
Default

if you still have the zimbra installer somewhere on the disk then you could get rid of that, thats a few hundred mb.

in /var/log, depending on your distribution, you could have a lot of log archives that if you could dump (maybe ocpy elsewhere if you want to save them).

ultimately you should look at making /opt/zimbra it's own partition or separate volume or what not so it's not sharing space with everything else on your system.
Reply With Quote
  #5 (permalink)  
Old 04-14-2010, 10:22 AM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by bdial View Post
if you still have the zimbra installer somewhere on the disk then you could get rid of that, thats a few hundred mb.

in /var/log, depending on your distribution, you could have a lot of log archives that if you could dump (maybe ocpy elsewhere if you want to save them).

ultimately you should look at making /opt/zimbra it's own partition or separate volume or what not so it's not sharing space with everything else on your system.
I execute zmvolume:
zimbra@mail:~$ zmvolume --list
Volume id: 2
name: index1
type: index
path: /opt/zimbra/index
compressed: false

Volume id: 1
name: message1
type: primaryMessage
path: /opt/zimbra/store
compressed: false

zimbra@mail:~$ zmvolume --list -l
Volume id: 2
name: index1
type: index
path: /opt/zimbra/index
compressed: false

Volume id: 1
name: message1
type: primaryMessage
path: /opt/zimbra/store
compressed: false
Reply With Quote
  #6 (permalink)  
Old 04-14-2010, 10:30 AM
tgx tgx is offline
Elite Member
 
Posts: 291
Default

Also take a look in /var/spool/postfix.
You may find it stuffed with messages that were never delivered.

***Must not exist on Debian distro. Sorry.

Last edited by tgx; 04-14-2010 at 03:46 PM..
Reply With Quote
  #7 (permalink)  
Old 04-14-2010, 10:38 AM
Intermediate Member
 
Posts: 23
Lightbulb

Quote:
Originally Posted by tgx View Post
Also take a look in /var/spool/postfix.
You may find it stuffed with messages that were never delivered.
In /var/spool/ postfix folder don't exist

Another Idea?

Thanks
Reply With Quote
  #8 (permalink)  
Old 04-14-2010, 11:01 AM
Zimbra Employee
 
Posts: 184
Default

Might take a look at the size of each directory under "/".

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

Might check /home see if there are any users that have a lot of data in their home directory. Also check the logs in /var/log; if the logs are not getting rotated/aged off, they could grow very large.
Reply With Quote
  #9 (permalink)  
Old 04-14-2010, 12:16 PM
Intermediate Member
 
Posts: 23
Lightbulb

Quote:
Originally Posted by king0770 View Post
Might take a look at the size of each directory under "/".

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

Might check /home see if there are any users that have a lot of data in their home directory. Also check the logs in /var/log; if the logs are not getting rotated/aged off, they could grow very large.
Excuse me please, but i have no much experience on this, the comand cannot work, i dont known the correct sintax

Thanks
Reply With Quote
  #10 (permalink)  
Old 04-14-2010, 01:38 PM
Zimbra Employee
 
Posts: 184
Default

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