How to make persistent disk order naming in Red Hat CoreOS 4.3?
Issue
- How to make persistent disk order naming in Red Hat CoreOS 4.3?
- In the process of installing Red Hat OpenShift Container Platform 4.3 with UPI Baremetal nodes which have two kind of disks:
- 2 x SATA M.2 -
kernel_driver=ahci
- 2 x HPE Smart Array E2081-p
kernel_driver=smartpqi
- 2 x SATA M.2 -
- Command line parameters are as follows.
rd.neednet=1 \
console=tty0 \
console=ttyS0 \
coreos.inst=yes \
coreos.inst.install_dev=sda \
coreos.inst.image_url=http://Link_To/rhcos-metal.raw.gz \
ip={{ host_ip }}::{{ gateway }}:{{ netmask }}:{{ inventory_hostname }}:ens192:none:{{ ns1 }} \
nameserver={{ ns1 }} \
nameserver={{ ns2 }} \
coreos.inst.ignition_url=http://link_to/pub/{{hostname}}.ign \
rd.debug \
rd.shell \
rd.driver.pre=ahci \
rd.driver.post=smartpqi
- Use of
rd.driver.pre=ahci rd.driver.post=smartpqi
detectsM.2
disk beforeHPE
disk. - But during
firstboot
the disk order changes and name is changed and/dev/sda
renames to/dev/sdc
as follows. - Is there any way to make the command line parameters permanent to control disk name changes.
Environment
- Red Hat OpenShift Container Platform 4.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.