LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-28-2007, 08:05 AM   #1
oxylus
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
Wrong HDD size reported in Fedora Core 7


Hello,

I installed fedora core 7 on a compaq deskpro en series p3/450/128ram/ 20GB hdd ( 200WD )

The installer where i configure the partitions sizes saw my hdd corectly ( 20gb ) but after finishing and logging in the console its wrong.

The df -h shows me a partition of 212GB ( which should have about 18GB real )

I tried to run fschk but without any luck, it looks the same.

Any ideea?

Thanks.
 
Old 06-28-2007, 08:27 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Curious... post the actual output with the command. df -h usually lists according to partition, and fedora installs to three. i.e.
Code:
simon@indigo-prime:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sde1              46G  3.6G   40G   9% /
varrun                248M  108K  248M   1% /var/run
varlock               248M     0  248M   0% /var/lock
procbususb            248M  120K  248M   1% /proc/bus/usb
udev                  248M  120K  248M   1% /dev
devshm                248M     0  248M   0% /dev/shm
lrm                   248M   33M  215M  14% /lib/modules/2.6.20-16-generic/volatile
/dev/sde3              27G  4.4G   21G  18% /home
 
Old 06-28-2007, 08:29 AM   #3
hans21
Member
 
Registered: Sep 2005
Location: Serbia
Distribution: Centos 5.2-x86_64, Fedora 10, RHEL 5
Posts: 60

Rep: Reputation: 15
Quote:
Originally Posted by oxylus
Hello,

I installed fedora core 7 on a compaq deskpro en series p3/450/128ram/ 20GB hdd ( 200WD )

The installer where i configure the partitions sizes saw my hdd corectly ( 20gb ) but after finishing and logging in the console its wrong.

The df -h shows me a partition of 212GB ( which should have about 18GB real )

I tried to run fschk but without any luck, it looks the same.

Any ideea?

Thanks.
Did You issue a:

df -h /dev/sda

command?

If You try to check Your disk space like this, it just won't do.

If You haven't done it already, try denoting partition number like this:

df -h /dev/sdaX (where X stands for partition number; primary partitions count from 1-3 and, logical partitions count from 5-x)

BTW, You won't be able to run fsck on mounted partitions, eg. /, /boot... (in fact, it's STRONGLY suggested for You NOT TO DO IT!. You could damage Your filesystem, if I remember correctly.) fsck should only be used on unmounted partitions.

Last edited by hans21; 06-28-2007 at 08:31 AM.
 
Old 06-28-2007, 10:42 AM   #4
oxylus
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hans21
Did You issue a:

df -h /dev/sda

command?

If You try to check Your disk space like this, it just won't do.

If You haven't done it already, try denoting partition number like this:

df -h /dev/sdaX (where X stands for partition number; primary partitions count from 1-3 and, logical partitions count from 5-x)

BTW, You won't be able to run fsck on mounted partitions, eg. /, /boot... (in fact, it's STRONGLY suggested for You NOT TO DO IT!. You could damage Your filesystem, if I remember correctly.) fsck should only be used on unmounted partitions.
HI,

( i'll just type here what appears, i dont have that conmp connected to network

Code:
df -h /dev/sda

Filesystem   Size   Used   Avail  Use
-            62m    36k    62MB   1%

df -h /dev/sda1

/dev/sda1    226G   1.7G   212G   1%

Last edited by oxylus; 06-28-2007 at 10:43 AM.
 
Old 06-28-2007, 02:20 PM   #5
hans21
Member
 
Registered: Sep 2005
Location: Serbia
Distribution: Centos 5.2-x86_64, Fedora 10, RHEL 5
Posts: 60

Rep: Reputation: 15
I'm puzzled...

Copy (don't type) the output of the

df -h

command here...
 
Old 06-28-2007, 06:35 PM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
It is very important,when reporting weird stuff, that you copy the exact command with it's output leaving nothing out. You can drag your mouse pointer over the bit of the terminal you want to copy (colors it in), then rt-click your selection for options. Your report should look like this:
Code:
simon@indigo-prime:~$ df -h /dev/sde
Filesystem            Size  Used Avail Use% Mounted on
udev                  248M  120K  248M   1% /dev
simon@indigo-prime:~$ df -h /dev/sde1
Filesystem            Size  Used Avail Use% Mounted on
/dev/sde1              46G  3.6G   41G   9% /
.... I, personally, would like to see the result of fdisk -l (reads the partition table).
 
  


Reply

Tags
fdisk, fedora, hdd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong disk space reported NSKL Linux - Laptop and Netbook 5 02-01-2007 05:24 PM
Wrong HardDrive Space Being Reported wfernley Linux - Software 7 03-01-2006 02:01 PM
memory size reported wrong 2.6.12.2/slack 10.2 urbanwks Linux - Hardware 4 12-18-2005 10:44 AM
FC4 HDD showing wrong size h00ty Fedora - Installation 5 08-20-2005 12:10 PM
Missing HDD size when installing Fedora gotdafunky Linux - Newbie 1 05-20-2004 12:47 AM


All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration