uname -aLinux master 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
node_exporter --versionnode_exporter v1.0.1
node_exporter running in kubernetes
I use 'node_filesystem_size_bytes' The size of the system disk (DF - H) queried by bytes is inconsistent with that on the host.Why are the two different? It should be the same value, which causes my monitoring alarm to be incorrect
Index node_filesystem_size_bytes query results
/dev/mapper/centos-home:50G
/dev/mapper/centos-root:518.5G
(1).'Index node_filesystem_size_bytes' query results
/dev/mapper/centos-home:518.5G
/dev/mapper/centos-root:518.5G
(2).'df -h' query results
/dev/mapper/centos00-root 50G 3.6G 47G 8% /
/dev/mapper/centos00-home 519G 24G 496G 5% /home