LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-03-2010, 03:38 PM   #1
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Blog Entries: 1

Rep: Reputation: 17
Device IDs Change On Boot


I have 2 internal SCSI drives in the box.
I also have an external USB HDD that's almost always there, so it's in fstab to be mounted somewhere.

When I boot with the external connected, here's what I get:
External = sda
Internal SCSI-1 = sdb
Internal SCSI-2 = sdc

Without it:
Internal SCSI-1 = sda
Internal SCSI-2 = sdb

How do I fix this? The SCSI drive's are a RAID setup, so if I boot without the external I have complete RAID failure.
 
Old 01-03-2010, 03:47 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Maybe you can hard code the disk order in your BIOS.

Otherwise, you'll probably just have to:

a) configure your RAID to use sda and sdb as SCSI-1 and SCSI-2
b) get in the habit of inserting your external drive *after* you boot your PC.

Last edited by paulsm4; 01-03-2010 at 03:49 PM.
 
Old 01-03-2010, 04:13 PM   #3
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Nothing in the BIOS along those lines.

Problem is, the external is almost always here, and I'm not, so it's there on boot. Issue is, power here is unreliable at best and it ends up rebooting a lot, so I don't have the option of not plugging it in until it's booted.

Usually I just unmount/unplug it while the box is on when on the rare occasion I do take it with me. Problem then is when it reboots next, I have no RAID.

I'm thinking there's not going to be an easy solution to this...
 
Old 01-03-2010, 04:42 PM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Can you post some more details? Specifically what RAID system are you using?

If your using mdadm can you post the contents of /etc/mdadm/mdadm.conf?

The order in which drives are labelled isn't guaranteed, and there is a lot of support for identifying specific drives/partitions without relying on the /dev/sdXY reference.
 
  


Reply



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
drive IDs change from boot to boot emtstephen Linux - Newbie 3 08-06-2008 09:49 PM
change pci.ids file? feisty steviebee Linux - Laptop and Netbook 1 04-29-2007 09:03 AM
adding pci device ids to pci.ids xerxex Linux - General 0 01-18-2006 06:36 PM
Device IDs and IDE Raids (PCI and Onboard) Micah Linux - Hardware 2 06-17-2005 12:57 PM
how do i manually load a device with known vendor and product IDs to devices? pyenos Linux - Hardware 0 03-01-2005 10:16 AM

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

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