LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-02-2003, 05:16 PM   #1
jdreg
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
jdreg@charter.net
 
Old 12-02-2003, 05:22 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
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, 05:24 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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?


Cheers,
Tink
 
Old 12-03-2003, 11:12 AM   #4
jdreg
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, 12:21 PM   #5
class_struggle
Member
 
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.
 
  


Reply


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-25-2005 12:24 AM
Problem recognizing hard drive Pontius Linux - Hardware 2 06-23-2004 02:09 AM
problem recognizing seagate hard drive nom the unwise Linux - Hardware 1 02-09-2004 09: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 11:43 AM
Recognizing windows 2000 hard drive files in linux eelee Linux - Newbie 6 01-02-2002 02:23 AM


All times are GMT -5. The time now is 06:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration