disk size mismatch using df
Hi,
This is not really a problem, but I am curious! When I run df command, the sum of free and used space doesn't tally up to total space. Now I found an explanation in this thread: http://www.linuxquestions.org/questi...n-size-316091/ The amount of "reserved" space seems a little too high as OP of the thread had commented, but may be that's what needed. Now my question is is there a way to change/specify this amount of "reserved" space manually? Also is there a way where you can see the actual disk usage for every mounted partition including the hidden "reserved" space? Because sometimes this mismatch makes the output of df very confusing! I am attaching output of df, and fdisk from my NFS server. The amount of reserved space seems to be close to 5% of the total partition size. Code:
[root@cretaceous ~]# df -a |
Use tune2fs as such:
Code:
tune2fs -m 1 /dev/sdaX |
Quote:
Seems like tune2fs is the command I was looking for. And tune2fs -l is the command I need to see the details. |
No problem! Mark your thread as [SOLVED] if you are fully satisfied, thanks!
|
All times are GMT -5. The time now is 09:36 PM. |