[Pkg-nagios-devel] Bug#800345: Bug#800345: check_disk sees wrong disk consumption on btrfs

Jan Wagner waja at cyconet.org
Mon Sep 28 09:17:57 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

tags 800345 moreinfo
thanks

Hi Klaus,

thanks for taking the time to report your issue.

Am 28.09.15 um 09:46 schrieb Klaus Ethgen:
> Since several days, one of my checks went red for one of my boxes, 
> mentioned that / is 100% full. But this is not true, there is
> plenty of space left.
> 
> ~> df -Th Filesystem               Type      Size  Used Avail Use%
> Mounted on /dev/sda1                btrfs     502M  338M  169M  67%
> / ...
> 
> ~> btrfs fi df / System, single: total=4.00MiB, used=4.00KiB 
> Data+Metadata, single: total=497.81MiB, used=329.71MiB 
> GlobalReserve, single: total=8.00MiB, used=0.00B

I neither use btrfs nor do I have specific knowledge about this FS.

> ~> /usr/lib/nagios/plugins/check_disk -w '3%' -c '1%' DISK CRITICAL
> - free space: / 0 MB (0% inode=-)]; ...
> 
> ~> grep ' / ' /proc/mounts /dev/sda1 / btrfs
> rw,nodiratime,relatime,compress=zlib,ssd,discard,space_cache,autodefra
g
> 0 0
> 
> All other partitions worked well but it constantly shows / to be
> full.

I think you can get a bit more information about what happens behind
the scenes when running /usr/lib/nagios/plugins/check_disk -vvv

Maybe this can help understanding where it might fail.

Thanks, Jan.
- -- 
Never write mail to <waja at spamfalle.info>, you have been warned!
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS
PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWCQXFAAoJEAxwVXtaBlE+sRMP/i+64pbPzUR7ufdXAVCvKNl3
rxeEb2Kmx8QGqSXgpUCgRIN0iyOFjEYryE6nR+jhKnF9MOz16KorL0qcVePUgyTR
O+MglQbKUtab8d3j3ZncaBLzIZWL4l6KF5gl6tC30Ex6Li9fUzKOspihpoNWQEwH
j1j5xrWrVhABLzsYxziJZ5xSm5EtEMhbr/zfh2NSIrKqFI60upuNkHIfQpAzSBoD
xJ1DOL1Za4WrUsPh1HvC3xaCdimbtgQTj6tKS49IumB36A1iIOsLxLHkkLDG2N7c
Z8+kbtlWYT/nWypV3xsItuxHkLZmOvtfmDrXEpTwUvtLWgiNmp3lFtGVOE0SLgdj
PXENH1lRcbryyKJCENHnhNOnVNgdwyItMoA1tanHPafMhi/g93z68IyyhFGVjnWs
/fkswOyyFji90NrAiT/DLpEhPNuXi8VZzGcGHzhd3SDDKoxExu6HFQPosKMjIaih
FoT0c3MlRFbyDFpC/I/CpqG3sLsVETf64A/3vTVyuJaRi6fNZKVI1cTFigzJFdl9
MTK4V7VK0hH3smz19W4fyl4y6wegr2Jy91FEjWhcxH2IY6ELik+amyV9shyLE+13
5I5PGZYuC9+6ZlZmuGSS2RNOQADI9AfMVuv0FPYwbfBC5EPxMh9vWJ/NsgjvCiqT
yn6kCLYq1w6f1KofdjbT
=ZdIX
-----END PGP SIGNATURE-----



More information about the Pkg-nagios-devel mailing list