On this second part, I want to write out how to reserve emergency free space on zimbra machine as I mentioned on the First Part.
To accomplish this task, we have to find out which files need to be deleted so we can get ’emergency free space’ instantly. The most possible files to be deleted are log files. Zimbra is a stack consist of several technology so it must have several file log for each technology. We can find all zimbra related log files on two directory:
- /var/log/
- /opt/zimbra/log
Lets sweep out the first one:
% cd /var/log % ls -alh | less % rm -rf maillog.*#rm -rf messages* % rm -rf zimbra.log* % ls -alh | less
Then we sweep out the second:
% cd /opt/zimbra/log % ls -alh | less % rm -rf audit.log.*#rm -rf zmconfigd.log* % rm -rf zmlogswatch.out* % rm -rf mailbox.log* % ls -alh | less
Huff.. finally I got 2G freespace to keep the engine running. We now have privilege to find the real solution like I posted on the third part.
[…] email system from collapse because of insufficient space as explained at the first part. On the second part, I try to explained how to reserved some free space on emergency situation so we got some […]
Pingback by Zimbra store drive is full?? -Third- | simplify this complex world — December 14, 2015 @ 4:07 am |
[…] Reserve space from unused/unimportant file, so the email will continue to run despite exhaustion and I have enough time to move the data to the new drive (second part). […]
Pingback by Zimbra store drive is full?? -First- | simplify this complex world — December 14, 2015 @ 4:39 am |