LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2008, 07:14 PM   #1
marv
LQ Newbie
 
Registered: Jun 2008
Location: UK
Posts: 5

Rep: Reputation: 0
Hard drive detection order


I recently re-installed debian etch onto a machine i have running as a server.

I setup software raid 1 on two drives connected directly to the motherboard SATA controller. The install went completely sucessfully, the machine boots, runs and disk redundancy works 100%.

I then inserted a PCI SATA controller with 3 drives connected which i plan use in JBOD for some extra storage.

When Linux boots, it recognises the PCI card first and hence assigns the three hard drives as sda, sdb and sdc, this offsets the two main hard drives to sdd+sde which stops the raid array being created properly and makes the machine unbootable.

If i unplug the drives from the PCI card, boot the machine and then hot-plug the drives, they show up as sdc, sdd and sde. This is what i want.

Is there a way of making linux use the onbord SATA controller first or disabling the PCI SATA card during boot?

I would rather not re-assign the raid array to use sdd and sde.
 
Old 06-14-2008, 07:17 PM   #2
marv
LQ Newbie
 
Registered: Jun 2008
Location: UK
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry, this is more of a hardware issue, i should have probably put it in the hardware thread.
 
Old 06-14-2008, 07:53 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
This is an issue with the BIOS; the kernel has nothing to do with the enumeration. If it can't be 'fixed' in BIOS, the simplest thing to do is remove the PCI SATA card, set up the system to assemble the RAID in the new configuration (a bit tricky since the initrd image must also be correctly updated), then plug in the SATA, etc etc. Keep a boot CD handy for fixing things.
 
  


Reply

Tags
detection, drive, sd


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 detection problem jaywolf Linux - Newbie 6 02-04-2006 11:03 AM
hard drive detection problem on fresh Debian 3.1 r5d Linux - Hardware 1 06-16-2005 04:30 PM
RH9 Installation killed hard drive detection! HELP!?! jcubed Red Hat 2 04-21-2004 10:49 AM
hard drive detection flump Linux - Hardware 2 08-01-2003 07:15 AM
hard drive detection problems flump Linux - Newbie 4 01-16-2003 02:18 PM


All times are GMT -5. The time now is 03:08 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