disc numbering changes

Asked by Andrew Wakefield

I am running 7.10 Server on a box with 2 x IDE disks (master on both channels), 4 x SATAII disks attached to a promise SATAII 4x controller and 2 x SATAII disks attached to motherboard SATA headers.

The two IDE drives are a raid1 set (/dev/md0 for / and /dev/md1 for swap).

The 6 x 500gb SATA drives make up a raid5 set.

On boot sometimes I get:
IDE0 - /dev/sda
IDE1 - /dev/sdb
PCI Card - /dev/sdc,d,e,f
Headers - /dev/sdg,h

Othertimes I get:
PCI Card - /dev/sda,b,c,d
IDE0 - /dev/sde
IDE1 - /dev/sdf
Headers - /dev/sdg,h

Driven by the order in which the drivers load....?

Why would it change though ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier (olivier-lacroix) said :
#1

Hi !

You can build an udev rule to be sure that your disks will always get the same name.

http://reactivated.net/writing_udev_rules.html#builtin

Revision history for this message
Andrew Wakefield (lsemerdj) said :
#2

That did the trick - Thanks.

Still mystefied as to why the load sequence changes though....

Revision history for this message
Andrew Wakefield (lsemerdj) said :
#3

Thanks Olivier, that solved my question.