How are custom persistent names assigned for SCSI devices using udev in Red Hat Enterprise Linux 7 and 8?

Solution Verified - Updated -

Issue

  • The udev rule /etc/udev/rules.d/20-names.rules from Red Hat Enterprise Linux 6 does not work on Red Hat Enterprise Linux 7
  • How can static names be assigned for SCSI devices using udev in Red Hat Enterprise Linux ?
  • How can I assign static /dev/sdN names to device to prevent them from changing across boots?
  • How can static names be assigned for SCSI devices using udev in Red Hat Enterprise Linux 7 and 8?
  • How can I assign static names for SCSI devices using udev in Red Hat Enterprise Linux 7 and 8?
  • The /dev/sdx name associated with storage devices changes between boots
  • The system had assigned /dev/sdn device name to the a disk,, but after a reboot this name was changed to /dev/sdk, is this expected behaviour?
  • I am unable to rename the '/dev/sdX' device on the server.

Environment

  • Red Hat Enterprise Linux 7 and 8.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content