Re: Monitor file system free space



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mark@xxxxxxxxxxxx wrote:
I had a problem with my (small) disk filling up and crashing my mail
server. So, I wrote a simple perl script to take the output of 'df -h'
and look for a % full that is greater than 97% and send me an e-mail if
the % is greater than 97. I run the script daily from crontab. It works
fine.

Yesterday I downloaded an iso image (which brought the file system fill
from 93% to 100% so that the mail server could not send me the e-mail
warning. Is there another way to approach this problem (a different
tool?)so that I can be notified BEFORE the file system is too full?

If your mail server is important ( ;-) ), put your mails and/or all of
/var on a separate partition, maybe with quotas.

Do the same for /home.

- --
Johannes

Three nations have not officially adopted the International System
of Units as their primary or sole system of measurement: Burma,
Liberia, and the United States.

http://en.wikipedia.org/wiki/Si_units
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksw3lMACgkQC1NzPRl9qEUEfwCeI3lTkE+2B9+zOuSiaM4Vdkss
9r0AnjQu64yQln3KXuAvm7lpuuC9My/P
=gL0G
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Monitor file system free space
    ... I wrote a simple perl script to take the output of 'df -h' ... Yesterday I downloaded an iso image (which brought the file system fill ... from 93% to 100% so that the mail server could not send me the e-mail ... A general solution is to have your user's home directories ...
    (Debian-User)
  • Re: Monitor file system free space
    ... I wrote a simple perl script to take the output of 'df -h' ... Yesterday I downloaded an iso image (which brought the file system fill ... from 93% to 100% so that the mail server could not send me the e-mail ...
    (Debian-User)
  • Monitor file system free space
    ... I wrote a simple perl script to take the output of 'df -h' ... Yesterday I downloaded an iso image (which brought the file system fill ... from 93% to 100% so that the mail server could not send me the e-mail ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • NetSec Security Advisory: Multiple Vulnerabilities Resulting From Use Of Apple OSX HFS+
    ... NetSec released details of a vulnerability impacting ... methods to an underlying legacy HFS+ file system: ... one method to leverage this 'feature' of the legacy HFS+ driver in OS X: ... The default configuration of several web server ...
    (Bugtraq)
  • Re: HTTP FS?
    ... URL is exactly what http has been "designed" for. ... Even a read-only file system allows you to list a directory (as far as I ... HTTP it isn't included in the protocol. ... To give the server a clue, ...
    (comp.os.minix)