BTRFS: more space available than free
From: Klaus Ethgen
Date: Wed Sep 30 2015 - 07:36:07 EST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
currently, I suffer of a weird problem with a btrfs filesystem:
~> uname -r
4.0.9
~> stat -f /
File: "/"
ID: a446833a80ceeb6a Namelen: 255 Type: btrfs
Block size: 4096 Fundamental block size: 4096
Blocks: Total: 128472 Free: 41964 Available: 42981
Inodes: Total: 0 Free: 0
As you can see, f_bavail is slightly bigger than f_bfree. As I
understand the values, f_bavail should be never bigger than f_bfree.
Currently that breaks check_disk from nagios.
How can that happening? I found a thread about some try to make f_bavail
more accurate in 2014 but nothing about f_bfree.
What I didn't try until now, is, if that problem also happened with the
most recent kernel version but this will be my next step.
Please forgive that I don't read lkml regularly. Please keep me in Cc
for this reason.
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@xxxxxxxxx>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBCgAGBQJWC8HFAAoJEKZ8CrGAGfasHg8L/jaNUulWoIYeodKUGTtPwOIX
dpuK7aP+768oBafnFCHpgwyxllZbEZh2Dqsw9tcwleWnQMEo5EWFj2mkr1FPZcX/
qj8JBugSec/UzFevNZdug69KunWuVMyWkzQHVVqrkwtpEGOGk/mr9uhHse25xwPY
G13Xd21Ea5E3oCm4drKEN0z3QEIbcNXmy+LN4wprxZXu1QKEa/VssgxRrrxW6gN1
dtjXjgtZpTgLJ5D298Sz4/AelR/U0tW3VHZIQRswtn5AgiKA4dKIIiE2N0qx3USu
1foXkchoyOOnIB9n3gc+uYxtRacublvggfY8Md+3e/+CGLHEhMQnwWVCrVBHxwJV
zRSGKH7xUqbpPlC1SrvuEu0V1ZmAvUTorS1pTEGbVjwlpmkgRXlE+MwV6F0jMoWM
9zsaR/ZjB+Irj03qAs0XezYjeU8wHrnjKZAVBofho1tZqgOmwI03L0e0nGISP8K4
Fni9gX5nga+jwbOJn/NyOAhfc8Ev8kc3+aUllgQKsQ==
=3Wky
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/