View previous topic :: View next topic |
Author |
Message |
magatsu n00b
Joined: 03 Dec 2002 Posts: 8 Location: NYC
|
Posted: Fri Dec 06, 2002 12:45 am Post subject: Disk usage incorrectly (?) reported by df |
|
|
Typing df -h produces the following output:
Code: |
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 1.8G 1.5G 338M 81% /
tmpfs 1.0M 124K 900K 13% /mnt/.init.d
|
At the same time, going to cfdisk reveals that I have three partitions hda1 (boot ext2), hda2 (swap) and hda3 (ext3) -- with hda3 being 11457.34 MB in size. This sounds just about right for my hard drive.
I've checked /dev/hd* for any weirdness, like dozens of windows partitions, but nope, just hda1, 2 and 3 are there.
Any ideas? |
|
Back to top |
|
|
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Fri Dec 06, 2002 1:26 am Post subject: |
|
|
not sure what your question is. |
|
Back to top |
|
|
magatsu n00b
Joined: 03 Dec 2002 Posts: 8 Location: NYC
|
Posted: Fri Dec 06, 2002 1:37 am Post subject: |
|
|
Hm, I guess it wasn't that clear.
Why is df telling me I have 1.8G on hda3, when that is definitely not true?
At least according to cfdisk (and the way I thought I set up partitions during the installation). |
|
Back to top |
|
|
carlivar Tux's lil' helper
Joined: 22 Jul 2002 Posts: 92 Location: Burbank, California
|
Posted: Fri Dec 06, 2002 1:37 am Post subject: |
|
|
Post output of
fdisk -lu /dev/hda
carl _________________ "It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt |
|
Back to top |
|
|
magatsu n00b
Joined: 03 Dec 2002 Posts: 8 Location: NYC
|
Posted: Fri Dec 06, 2002 1:41 am Post subject: |
|
|
Here:
Quote: |
Disk /dev/hda: 240 heads, 63 sectors, 1559 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 63 196559 98248+ 83 Linux
/dev/hda2 196560 1194479 498960 83 Linux
/dev/hda3 1194480 23572079 11188800 83 Linux
|
|
|
Back to top |
|
|
carlivar Tux's lil' helper
Joined: 22 Jul 2002 Posts: 92 Location: Burbank, California
|
Posted: Fri Dec 06, 2002 1:46 am Post subject: |
|
|
Yep, you're right, fdisk/cfdisk is reporting a much larger hda3, approx 10.67 gigs. That is weird! I'm stumped... only thing I can think of is if this is an old PC with old BIOS that doesn't handle large drives very well.
Carl _________________ "It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt |
|
Back to top |
|
|
magatsu n00b
Joined: 03 Dec 2002 Posts: 8 Location: NYC
|
Posted: Fri Dec 06, 2002 1:52 am Post subject: |
|
|
Nope, at least, not that old, it's a Thinkpad T20, never had anything like this before. |
|
Back to top |
|
|
|