Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disk usage incorrectly (?) reported by df
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
magatsu
n00b
n00b


Joined: 03 Dec 2002
Posts: 8
Location: NYC

PostPosted: Fri Dec 06, 2002 12:45 am    Post subject: Disk usage incorrectly (?) reported by df Reply with quote

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
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Fri Dec 06, 2002 1:26 am    Post subject: Reply with quote

not sure what your question is.
Back to top
View user's profile Send private message
magatsu
n00b
n00b


Joined: 03 Dec 2002
Posts: 8
Location: NYC

PostPosted: Fri Dec 06, 2002 1:37 am    Post subject: Reply with quote

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
View user's profile Send private message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Fri Dec 06, 2002 1:37 am    Post subject: Reply with quote

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
View user's profile Send private message
magatsu
n00b
n00b


Joined: 03 Dec 2002
Posts: 8
Location: NYC

PostPosted: Fri Dec 06, 2002 1:41 am    Post subject: Reply with quote

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
View user's profile Send private message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Fri Dec 06, 2002 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message
magatsu
n00b
n00b


Joined: 03 Dec 2002
Posts: 8
Location: NYC

PostPosted: Fri Dec 06, 2002 1:52 am    Post subject: Reply with quote

Nope, at least, not that old, it's a Thinkpad T20, never had anything like this before.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum