[SLL] /dev/sd names not in motherboard order

Phil Mocek pmocek-sll at mocek.org
Mon Mar 2 11:10:16 PST 2009


On Mon, Mar 02, 2009 at 09:56:29AM -0800, Mathew D. Watson wrote:
> Paul Franz wrote:
>> On Mon, March 2, 2009 7:22 am, Mathew D. Watson wrote:
>>> With one drive at each of SATA1, SATA2, and SATA3, their
>>> /dev/sd names become sda, sdc, and sdb respectively.  / out of
>>> order
>>>
>>> Finally, the motherboard connectors are physically positioned
>>> in the following order. SATA1, SATA3, SATA2, SATA4.
>>
>> Looks like they are labeled incorrectly. Seems to me the order
>> should be marked
>>
>> SATA1, SATA2, SATA3, SATA4
>>
>> Wouldn't that solve the problem?
>>
>
> Yup. That would solve the problem. At least the system would
> work as I  think it should. On the other hand, I have a nagging
> feeling that more  is at play here.

I wouldn't rely on that unless someone can confirm that its not
just coicidentally correct.  Do we know how /dev/sd* are assigned?

IIRC, some of this changes when I enable/disable ATA/SATA in one
of my machines' BIOSes.  I believe that using /dev/disk/by-uuid/*
avoids all this.  I typically leave a comment in fstab with something
more useful than /dev/disk/by-uuid/c8b8e289-4722-4230-af73-298dd7a42892.

-- 
Phil Mocek


More information about the linux-list mailing list