I have an HP xw8200 workstation running linux with two small, fast SCSI drives hooked up to the onboard LSI SCSI controller. The drives get labeled /dev/sda & /dev/sdb in /dev, respectively. I have a large SATA disk that I want to add to the system to store data, but every time I connect it, it's /dev gets assigned sda & the two scsi drives are assigned sdb,c, which messes with the boot procedure. How can I get this SATA drive to use sdc?
|
feedback
|
|
You could attempt to use udev (that daemon that controls the /dev filesystem) to write some rules that change the /dev entry for the SATA, and then modify your fstab to accomidate this. You can find out how to write a udev entry (the page mostly covers USB devices, but that and the man pages should help you get a good idea on how to do it) by following the link above. HackADay might expand your knowledge on udev rules a little bit as well. | |||
|
feedback
|
blkid(run it as root). The label can be found withls -l /dev/disk/by-label/– Lekensteyn Dec 3 '11 at 13:13