On 01/16/2010 05:56 AM, Jarry wrote:
Hi, I have strange problem with sata-disks names/numbering:

Until now, I had 2 sata-disk and one sata-dvdrw, attached
to positions marked as "sata1", "sata2" and "sata3"
in motherboard-manual, and detected as follows:

Mobo: drive: system:
sata1 160GB /dev/sda
sata2 160GB /dev/sdb
sata3 dvdrw /dev/sdc
sata4 (none)

Now I installed one more sata-disk, attached to "sata4"
position on mobo. But this changed the way how other
disks are detected:

Mobo: drive: system:
sata1 160GB /dev/sdb
sata2 160GB /dev/sdc
sata3 dvdrw (not_detected)
sata4 500GB /dev/sda

I tried to switch cables, attached that new 500gb disk
into sata1/sata2/sata3/sata4 connectors, but it is still
the same! This last disk is always detected by system
as /dev/sda, no matter in which connector I attach
its cable. And my system does not want to boot because
devices in /etc/fstab does not correspond now with disk
names (what was /dev/sda1 before, is now /dev/sdb1, etc.).

Strange thing, in bios-screen devices are detected
correctly, the last disk as "Fourth SATA drive"...

How can I fix this mess? How can I force this last
disk to be /dev/sdd?

I don't know if that is normal behavior or a bug, but you
may be able to work around it by using "LABEL" in fstab
instead of using sda, sdb, etc.

I have
LABEL=amd64     /       ext3    noatime,nodiratime      0 1

instead of
/dev/sdb5       /       ext3    noatime,nodiratime      0 1

where I set the disk label with "e2label /dev/sdb5 amd64"
and similar steps for the other disks.



Reply via email to