partition space and disk space usage and free don't match
when i command cfdisk this is the result :
Name Flags Part Type FS Type [Label] Size (MB)
sda1 Boot Primary Linux ReiserFS 7994.98
sda5 Logical Linux swap 592.23
when i command df this is the result :
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 3903620 3511988 391632 90% /
hope u guys can help me. im running out of space now. by the way im running a vmware on windows xp. thanks.
I get 38753256 total space using df, and 39062016 total space using fdisk -l. I think the difference has to do with overhead in the filesystem.
In your case, the big difference suggests something wrong with the filesystem. Did you, for example, re-size that partition? Can you boot from live CD, or another OS, and run fsck?
before i install the slackware i created 2 partitions. but i changed it to 1.
when i command fsck this the result.
fsck 1.39 (29-May-2006).
a little info
I find the disk space reported is often inconsistent. Keep in mind some partioning programs and or hard drives use gigabits not gigabytes and round 1024 to 1000 so this cause discrepancies throughout depending on how its interpreted by software and OS. Also I think journaled fs's keep some space set aside for backups of recently deleted files. See man for shred and it talks about this and how and why shred is not reliable on modern fs's and joirnaled fs's. In my case I had 49GB reported free by my system but a "dd if=/dev/zero of=/home/zero file" command yeilded a 56GB file. How is that possible if I had only 49GB of free space. I found this issue when I realized bleachbit was not wiping my whole drive because I was able to recover files so I ran above command and that wiped those other files bleachbit didn't so you can see that the OS and bleachbit were not seeing or using a portion of the unallocated space.
Here is my http://www.linuxquestions.org/questi...=1#post4897639 about that situation:
|All times are GMT -5. The time now is 01:32 PM.|