I ran out of disk space on one my zimbra mailserver and noticed that the file /opt/zimbra/zmstat/df.csv was around 7.3 TB in size.
Since from what I red from the docs on zmstat it is just a ascii text file with statistics on disk free in this case, I stopped zimbra and truncated the file with
Code: Select all
echo "" > /opt/zimbra/zmstat/df.csv
I did a
Code: Select all
tail -f /opt/zimbra/zmstat/df.csv
Zimbra version:...
timestamp, path, disk, disk_use, disk_space, disk_pct_used
timestamp, path, disk, disk_use, disk_space, disk_pct_used
...
Code: Select all
#zmcontrol -v
Release 8.8.12.GA.3794.UBUNTU16.64 UBUNTU16_64 FOSS edition, Patch 8.8.12_P1 proxy.
Kind regards
Andreas