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

Klaus Ethgen Klaus at Ethgen.de
Mon Sep 28 07:46:18 UTC 2015


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

Package: monitoring-plugins-basic
Version: 2.1.1-1
Severity: normal

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

   ~> /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,autodefrag 0 0

All other partitions worked well but it constantly shows / to be full.

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (500, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.7 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages monitoring-plugins-basic depends on:
ii  iputils-ping               3:20121221-5+b2
ii  libc6                      2.19-22
ii  libssl1.0.0                1.0.2d-1
ii  monitoring-plugins-common  2.1.1-1
ii  procps                     2:3.3.10-4
ii  ucf                        3.0030

Versions of packages monitoring-plugins-basic recommends:
ii  libcap2-bin  1:2.24-11

Versions of packages monitoring-plugins-basic suggests:
pn  icinga | icinga | nagios3  <none>

- -- no debconf information

- -- 
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 v2

iQGcBAEBCgAGBQJWCPBDAAoJEKZ8CrGAGfasorUMALX01a4iEq+OvARKHa7JzxfF
VsPlPhstwfOGsB7CvwosJNFy/67OHbp3s91oQHsXIfqlRol4KfhzpWgIu8q+fBw2
xsdUdeC1BcngKn1PIwiKLLr+jnyOUWAWW1Oql6FXpviPNnrXSVtd6f8bncCUpA1e
5u9LnMn1mzJHG32M902n+LwR7LIPIurHNiOZhjkViDtzbKIA+p4otTmJ0/Go9u/2
oXFo1Du6sB4W4xn48vT9Hio9g14EZ/Hgwyx7EFsW6WDFah8hje/5LQvmicws0/og
ZIPQoSqxDQzfRwhZO4wX6GAVezkRX9UunjyuEhanx5TDhk7hCX8SFRz82iro9n8D
3Mhz/baRkP42ZOHFGoIpzVMf6CfxYxA6eeLDypM1HWMzKJO9lP7sgKQvEZKweILt
uWI+QsP9DjNLc9W13gSRK5nKh/NdNkPCBYycK/nKLE1xgw/MuFh14lf6OKi7ts4n
NfOO1BoT9Bz6om4F8oYcbIpdJQR+vfpiNepfDVGWWg==
=Zp/K
-----END PGP SIGNATURE-----



More information about the Pkg-nagios-devel mailing list