LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   df issue: incorrect output (https://www.linuxquestions.org/questions/linux-general-1/df-issue-incorrect-output-790584/)

shadeb 02-21-2010 01:03 PM

df issue: incorrect output
 
Hi there,

I just shrink my /home (lvm2 / ext3) and next to a reboot df give me this ouput:

df -h
Quote:

/dev/mapper/vg-home 281G 265G 2.2G 100% /home
df
Quote:

/dev/mapper/vg-home 294155264 276968816 2244244 100% /home
so for my debian 265 + 2.2 = 281 ? ;)
the home is suppose to be set to 285 Go and the lv for the home to 285.17 Go

Do you have any idea about how to fix that? Or if I missed something when I shrink my home.

chrism01 02-21-2010 11:11 PM

If you allow for 5% of the original value to be reserved by the filesystem to handle fragmentation etc, the figures come out pretty close; I get 277,203,256.8 you got 276,968,816


All times are GMT -5. The time now is 10:46 PM.