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

Klaus Ethgen Klaus at Ethgen.de
Tue Sep 29 11:31:36 UTC 2015


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

Hi,

I think, I found the bug.

line 1044:
   p->available = fsp->fsu_bavail > fsp->fsu_bfree ? 0 : fsp->fsu_bavail;

But from the stat I see that:
   ... Free: 41708      Available: 42725

I think, that BDE^HD workarround here is broken for btrfs and maybe
other filesystems that supports compression.

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBCgAGBQJWCnaKAAoJEKZ8CrGAGfasfg0L/iVgpuSuSg5dTdqThDjl6Yn3
0LpmsziUzW5s2RHi7Zqbr+LhTk/vOuyHIOGyaosGzjjR7j8bMuUHYs0+BURRap4E
PMLD8nQXTdjzuksNmeZsGrH4krc2BEpX7NjRZ20X5ywlHlMp1YcjWyFUYgr3MB+6
2SBI9PL8miLpBGfd17DyrccEppyhkSWF6u9NZZFPbGcPvL3n4OpoOSfOjcEYy5cN
QAtEIhEpN9/nqYLpwU/aYCgT3L5YKPXLON2fij+P+CFiDBaL7E/E5X2VFqw3roGk
gtNMnZkPJmxXlrJmNEuz6iKYpgJUFowIAzGp5TVo5f1+3ZVZRWV4hYgcYk8qc4Ms
1cbq2vyk1fJpCSpDZxnADaKB7QwqBf4/loMPZlTbid+CsnAIjA2dL4RKTJQ4gKq0
cAphXYa3Z4Vxu7R4ekKUs3EHT0NrcCFlTTnoLwvTbhjJz4Q7wreZQVcQXaSBiJ2X
csHsCwtoP3uR/3gtB5d38zAg3xfMI9GUKdAMRNg61w==
=hl+x
-----END PGP SIGNATURE-----



More information about the Pkg-nagios-devel mailing list