Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10146

note that reserved space on file systems is excluded from vfs.fs.size[/path,free]

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • Documentation (D)

      # dumpe2fs -h /dev/sda5 | grep -iE "reserved|Block size"
      dumpe2fs 1.42.12 (29-Aug-2014)
      Reserved block count:     175436
      Block size:               4096
      Reserved GDT blocks:      856
      Reserved blocks uid:      0 (user root)
      Reserved blocks gid:      0 (group root)
      

      For this mounted partition returned free space will be 5% less (Reserved block count * Block size) than 'total-used' and it's not very obvious for zabbix users.

      To improve it, to Comments I'd add a note:
      Reserved space of a file system is taken into account when use "free" mode.
      https://www.zabbix.com/documentation/2.4/manual/config/items/itemtypes/zabbix_agent

      Sasha supposed that if could be related to vfs.fs.inode too, but using the same method as for vfs.fs.size and 2 different partitions (0% and 5% reserves) I could not confirm that.

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: