Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Zimbra Hard Disk Full

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    La Ceiba, Honduras
    Posts
    23
    Rep Power
    5

    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!

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    is /dev/md0 mounted to /opt/zimbra, or is zimbra on the same volume as the OS?

  3. #3
    Join Date
    Feb 2010
    Location
    La Ceiba, Honduras
    Posts
    23
    Rep Power
    5

    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

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    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.

  5. #5
    Join Date
    Feb 2010
    Location
    La Ceiba, Honduras
    Posts
    23
    Rep Power
    5

    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

  6. #6
    Join Date
    Aug 2007
    Location
    outside Philadelphia
    Posts
    214
    Rep Power
    8

    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

  7. #7
    Join Date
    Sep 2007
    Posts
    186
    Rep Power
    8

    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.

  8. #8
    Join Date
    Feb 2010
    Location
    La Ceiba, Honduras
    Posts
    23
    Rep Power
    5

    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

  9. #9
    Join Date
    Mar 2006
    Posts
    300
    Rep Power
    9

    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.

  10. #10
    Join Date
    Feb 2010
    Location
    La Ceiba, Honduras
    Posts
    23
    Rep Power
    5

    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

Similar Threads

  1. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 10:38 AM
  2. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 10:13 AM
  3. Replies: 8
    Last Post: 02-27-2007, 03:10 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •