df –h mismatch size in linux
while I was running df to check the disk space I found that there is huge different in free size.
I noticed that there was a huge gap between the total space (79 used + 7.3 available = 88.3) and the actual size of the file system. According to me this was due to the reserved block count, which is set to five percent by default in ext2 and ext3 file systems—clearly a legacy from a time where disks were smaller.
I changed the reserved block count with tune2fs:
Now, the reserved blocks take up roughly 934 MiB; I’ve freed 3.7 GiB with this little file system tweak.
use at your own risk :)