LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-19-2002, 07:00 PM   #1
Supp0rtLinux
Member
 
Registered: Dec 2001
Location: Carlsbad
Distribution: LFS 4.0 (www.linuxfromscratch.org)
Posts: 44

Rep: Reputation: 15
Changing Hard Drive controllers with s/w RAI


I have a server with an onboard SymBIOS SCSI controller. It only supports up 40mb xfers. However, I have two U160 IBM SCSI drives mirrored together through the Linux s/w RAID tools (ie md0, md1, etc). on this controller. I have recently purchased an Adaptec U160 capable SCSI controller and want to install it and simply move the SCSI ribbon from the onboard controller to the newer, faster controller.

Does anyone see this as a major issue? Aside from ensuring my kernel has support for the new controller compiled in, will anything break? I'm used to the Sun/BSD world that assigns device IDs in the c0t0d0s0 fashion. Hence if c0 is the onboard controller and c1 becomes the new controller, and I move stuff over, it won't boot up w/o being reconfigured 'cause it's looking for a disk on c0. This is similar to how NT/2000 works. Is Linux the same? Are the c0t0d0s0 settings all just hidden from me? Or does controller order not matter if I only have one boot disk? I have lilo installed and the root dev is /dev/md4. Is the controller stuff hidden somewhere? Maybe /etc/raidtab?
 
Old 08-21-2002, 02:26 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I've done this a bunch with IDE controllers, onboard and cards... If you're able to disable that onboard scsi card in BIOS, then the kernel should never detect it and then it will see the new scsi card the same as the old, probably /dev/sda1, sda2, then treat them as raid devices and detect them normally. It's no big deal really, watch dmesg scroll past on boot and see if it registers the new card with the right scsi ID, and if it doesn't, take note of where it is now, switch the drive back, boot, fix fstab and raidtab for where they will be, shutdown, switch, and you should be good to go.

Sometimes the kernel outguesses you. For instance I recently switched everything on my machine onto my ATA100 controller thinking that disabling the onboard IDEs in BIOS would keep the kernel from seeing them at all, it did anyway and I had to hack up my fstab as the boot drive went from /dev/hda to /dev/hde.

However, I've got a friends PPro with onboard SCSI, and I just disabled the SCSI from bios, put in a new card, switched the drives, and it kept its position as /dev/sda.

Alot of BIOS voodoo and luck is involved.

Cheers,

Finegan
 
  


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
Two SCSI controllers: one happy one not (tape drive no workie) JMCraig Linux - Hardware 5 08-10-2005 07:01 AM
SuSE YaST2 Install hangs on probing hard drive controllers casualzen Linux - Hardware 0 01-12-2004 05:32 PM
Changing Hard drive from one machine to another afubini Linux - Hardware 3 10-30-2003 03:41 AM
changing hard drive location thelight1 Linux - Hardware 3 10-12-2003 06:20 AM
Changing Hard Drive controllers with s/w RAID Supp0rtLinux Linux - General 1 08-20-2002 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:32 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
Open Source Consulting | Domain Registration