LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-20-2004, 11:42 AM   #1
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Rep: Reputation: 30
Multiple Hard Drives


Im using GNOME and running FedoraCore3. I have 2 80GB IDE hard drives which are on a PCI to ATA controller and then a 120GB SATA drive which Linux is installed too. FedoaCore3 is the only OS installed and when I go into Hardware Browser I see all three hard drives one is /dev/hde and it has a 102MB partition in ext3 and then the rest is just free space and in /dev/hdf all 80GB is unpartitioned freee space.... My master is /dev/sda when installing Fedora I chose to only install it to my sda so I imagine the 102MB partition was created when I attempted to format the drive. After spending several hours and several days working on getting these two drives to appear I still have had NO LUCK. I try searching LQ for a guide or other answers but for some reason the search never works it goes r eally slow but never shows results and then in google I found a few guides and tried it but it never wokred.... I tried editign fstab and doign fdisk -l and tune2fs and all that crap but I never manage to get anything working! All I want these drives to do are too show up as 2 folders or whatever where I can drag and drop files to for back up purposes...... Does anyone have a good guide that covers EVERYTHING required as I have tried thigns but doesnt work so a complete guide would be good.... I just want 1 partition per drive and it doesnt really matter if its FAT32 or ext3 or reiszerFS or whatever I just want these two IDE drives working! Thanks....
 
Old 12-20-2004, 01:29 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

Rep: Reputation: 144Reputation: 144
Open a console, su to root and run:

# fdisk -l

Post back with your printout.

Here's what I think your problem is. FC-3 uses a much newer kernel than FC-1 even though they are both 2.6 kernels. In the newer 2.6 kernels sata drives are listed as scsi devices and are reported as /dev/sdx. In the older 2.6 kernels that was not the case; sata drives were reported as /dev/hdx with the first one being /dev/hde. The printout from the above command will show how all your drives are being labelled whether they are mounted or not. With the older kernel in FC-1, I'm fairly certain that your sata drive will be hde and that your drives on the pci ide controller will be hdi and hdj. The way it works with the older 2.6 kernels is hda through hdd are for the devices on the on board ide controller, hde through hdh is reserved for sata and hdi through hdl is for the pci ide controller.

Last edited by kilgoretrout; 12-20-2004 at 02:30 PM.
 
Old 12-20-2004, 03:15 PM   #3
TuxFreak
Member
 
Registered: Oct 2004
Posts: 304

Original Poster
Rep: Reputation: 30
Thanks kilgoretrout although that didjnt help too much since I knew the hard drive names and everything but heres the printout


Disk /dev/hde: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux

Disk /dev/hdf: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19457 156183930 8e Linux LVM

So how do I get these 2 drives working properly? Im using FC3 which is 2.6.9-1.667 kernel
 
Old 12-22-2004, 01:11 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

Rep: Reputation: 144Reputation: 144
Post your /etc/fstab. Your running an LVM setup which is used to make several hard drive partitions function as one partition. This significantly complicates things. Is this what you want to do? See these articles for a discussion of lvm:

http://www-106.ibm.com/developerwork...library/l-lvm/

http://www-106.ibm.com/developerwork...ry/l-lvm2.html

I'm not that familiar with lvm but I'll do my best. Also, you have no partitions listed under hdf and hde lists one partition that doesn't seem right to me. You have to partition and format the drives before you can access them in linux.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux on Multiple Hard Drives apocolpse Linux - Newbie 5 08-06-2005 07:17 PM
Multiple hard drives installation Noido Slackware - Installation 8 04-06-2005 04:04 PM
Booting with multiple hard drives Sledge Linux - Newbie 4 01-17-2005 11:44 PM
multiple os & hard drives Alfanut Linux - Newbie 1 04-23-2004 11:49 AM
multiple hard drives bosewicht Linux - Hardware 4 11-22-2003 11:23 PM


All times are GMT -5. The time now is 08:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration