On 02/22/2016 12:41 PM, Jameson wrote:
On Mon, Feb 22, 2016 at 11:28 AM Garmine 42
wrote: On 22 February 2016 at 17:22, Jameson
wrote: On Sun, Feb 21, 2016 at 6:36 AM Guus Snijders
wrote: Op 20 feb. 2016 16:06 schreef "Jameson Pugh"
: On Sat, Feb 20, 2016 at 8:04 AM, Alistair Grant <
akgrant0710@gmail.com> wrote:
On 20 February 2016 at 02:38, Jameson Pugh
wrote: You should not use quotas on btrfs currently. It is known to cause significant performance issues on the long run (and potentially has many undiscovered bugs). If you wish I can dig up the relevant discussion on the btrfs mailing list for you. Well, without quotas, I can just expect my filesystem to fill up, again, without warning, and completely break. I think I might just have to buy some extra disks, and try out ZFS for myself.
Jameson I've been running this script in cron to deal with me not paying attention to disk utilization.
#!/usr/bin/perl -w use strict; my $tol = '75'; # >= this generates a message my $me = `hostname -s`; chop $me; foreach my $ln (split /\n/, `df -m`) { if ($ln =~ m@\s+(\d+)% (.*)@o) { my ($pct, $mnt) = ($1, $2); if ($pct >= $tol) { print "$me:$mnt utilization at $pct\%\n"; } } } If it prints something, cron just mails it to me. Dave