Package: netdata
Version: 1.4.0+dfsg-3
Severity: normal

Hi!

I am seeing a totally wrong disk space usage in netdata, see attached
screenshots.

The output from df and /proc/diskstats is as follows:
-----------8<-------------

$ df /var/remotelog/
Filesystem                    1K-blocks  Used Available Use% Mounted on
/dev/mapper/vg01-remotelog_lv  10190100 42848   9606580   1% /var/remotelog

$ df -h /var/remotelog/
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/vg01-remotelog_lv  9,8G   42M  9,2G   1% /var/remotelog

/proc/diskstats for /var/remotelog/ (dm-16)
 253      16 dm-16 44689 0 476002 581312 485563 0 3965960 15878468 0 11185824 
16460180

-----------8<-------------

It seems netdata misinterprets or miscalulates the numbers, resulting in
only 1.16 GB available in the graphic while in reality the number
is much higher.

This looks a lot like https://github.com/firehol/netdata/issues/605 but it does
not seem to be fixed as claimed in the issue.

Greetings,
Sven.

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

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=ISO-8859-15) (ignored: 
LC_ALL set to de_DE@euro)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages netdata depends on:
ii  adduser              3.115
ii  fonts-font-awesome   4.7.0~dfsg-1
ii  init-system-helpers  1.46
ii  libc6                2.24-8
ii  libcap2-bin          1:2.25-1
ii  libjs-bootstrap      3.3.7+dfsg-2
ii  libjs-d3             3.5.17-1
ii  libjs-jquery         3.1.1-2
ii  libjs-raphael        2.1.0-1
ii  libuuid1             2.29-1
ii  lsb-base             9.20161125
ii  netdata-data         1.4.0+dfsg-3
ii  python               2.7.13-1
ii  zlib1g               1:1.2.8.dfsg-4

netdata recommends no packages.

netdata suggests no packages.

-- Configuration Files:
/etc/netdata/health.d/disks.conf changed [not included]
/etc/netdata/health_alarm_notify.conf changed [not included]
/etc/netdata/netdata.conf changed [not included]
/etc/netdata/python.d/apache.conf changed [not included]
/etc/netdata/python.d/exim.conf changed [not included]

-- debconf-show failed

Reply via email to