In my system, I have 1 drive connected to a SATA port, an SSD. CentOS 7 is installed to this disk. Also in the system, is an LSI HBA - an internal card connecting to a backplane with 24 spinning disks on it, used for storage.
The problem is that the boot disk is randomly assigned a device name on startup. I want to lock that specific disk to /dev/sda
.
On my test system, it comes up as /dev/sdak
. On another identical system, it comes up as /dev/sdac
. Again, these systems are identical. They have the same number of drives, same components, everything. I need consistency in the devices for boot.
udev rules don't appear to have the power to re-assign kernel names. I can write one that will name it "fluffy_bunny_19", but I can't set it to be /dev/sda
, like I want.
Does anyone know of a way to accomplish this?
/dev/sda1
, you can also refer toUUID=<lots of hex chars>
and have it work.)