Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-02-2003, 04:16 PM   #1
LQ Newbie
Registered: Feb 2002
Posts: 11

Rep: Reputation: 0
Recognizing Hard Disks

Have a linux box with 4 9g SCSI drives. The drives seems to be recognized at boot. I am trying to ascertain how the space is being used on each disk. A "df" gives the following:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 8746648 2486100 5816236 30% /
/dev/sda1 99134 15029 78986 16% /boot
none 191964 0 191964 0% /dev/shm

I am wondering where the rest of the disk space went to?

Thanks . . . Jdr
Old 12-02-2003, 04:22 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,657

Rep: Reputation: 210Reputation: 210Reputation: 210
df shows you only mounted partitions. You may have non mounted partition or free space not assigned to any partition. Fdisk will tell you which partitions are on which disk, then you can mount them and use df to see the free space.
Old 12-02-2003, 04:24 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Well. Obviously you didn't ask for the
rest to be utilised during install :}

What distro are you using, how did you
do the partitioning?

Old 12-03-2003, 10:12 AM   #4
LQ Newbie
Registered: Feb 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Yes, something was not done correctly. I am running Red Hat 9 and choose auto partition. To complicate matters the program "cfdisk" is not installed on my system and I can not find a download. I looked at "fdisk" and was not sure that I wanted to do that. I logged in as "root" and tried to execute cfdisk such "cfdisk" and "cfdisk /dev/hda" - both time it said that "cfdisk - command could not be found". . . . Ahhhhhhhhh . . . Jdr
Old 12-03-2003, 11:21 AM   #5
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Rep: Reputation: 15
fdisk is just as good as cfdisk, perhaps even better. Worth reading the man on it, "p" will analyse and it won't do anything unless you press "w", i.e. write.
I gather use of "cfdisk", "fdisk" and "sfdisk" must always be done as rootuser/superuser.


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
Hard drive installation error, not recognizing ISO files PDAOmega Fedora - Installation 2 07-24-2005 11:24 PM
Problem recognizing hard drive Pontius Linux - Hardware 2 06-23-2004 01:09 AM
problem recognizing seagate hard drive nom the unwise Linux - Hardware 1 02-09-2004 08:07 PM
Slackware not recognizing my hard drive? I can't even load bare.i from the cd leeman_s Slackware 1 09-28-2003 10:43 AM
Recognizing windows 2000 hard drive files in linux eelee Linux - Newbie 6 01-02-2002 01:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 PM.

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