| I have (root /) mountpoint my df output looks: root@test:~# df /dev/sdb2 Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb2 19555608 15877636 2661556 86% / df displays correct data as 86% used on this mountpoint. Fact mountpoints displays: root@test:~# facter mountpoints./ { available => "3.51 GiB", available_bytes => 3766226944, capacity => "81.19%", device => "/dev/sdb2", filesystem => "ext4", options => [ "rw", "relatime", "errors=remount-ro", "stripe=32624", "data=ordered" ], size => "18.65 GiB", size_bytes => 20024942592, used => "15.14 GiB", used_bytes => 16258715648 } It displays only 81.19% of used space. I think to solve the problem instead of dividing Used÷1K-blocks 15877632÷19555608×100=81,19%, should divide Available÷1K-blocks ex. 100−2661560÷19555608×100=86,38%. |