LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   different results with df / fdisk -l ? (https://www.linuxquestions.org/questions/linux-hardware-18/different-results-with-df-fdisk-l-254005/)

sneutrinono 11-12-2004 09:07 AM

different results with df / fdisk -l ?
 
Hello everyone!

I'm working on debian, everything is fine but this :
my root partition has not the same size when i type df and fdisk -l :

df gives 4844694 :
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 4844694 3446166 1349691 72% /
tmpfs 258056 0 258056 0% /dev/shm
/dev/hda4 34205304 20888 34184416 1% /work
/dev/hda1 15350072 5945236 9404836 39% /mnt/win

fdisk -l gives 7952175 :
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1911 15350076 7 HPFS/NTFS
/dev/hda2 1912 2033 979965 82 Linux swap
/dev/hda3 2034 3023 7952175 83 Linux
/dev/hda4 3024 7296 34322872+ 83 Linux

can someone tail me what's wrong?
Thanks.
:newbie:

sneutrinono 11-12-2004 09:48 AM

ok solve!
 
ok it's solve! it was a resize mistake :
e2fsck -f /dev/hda1
resize2fs -f /dev/hda1


All times are GMT -5. The time now is 08:51 PM.