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

Solution Verified - Updated -

Issue

  • The udev rules used in RHEL 6 do not work on RHEL 7 and later.
  • How can static names be assigned for SCSI devices using udev in Red Hat Enterprise Linux?
  • How can I assign static, persistent names for SCSI devices using udev so they remain the same across boots?
  • How can static names be assigned for SCSI devices using udev in Red Hat Enterprise Linux 7 and later kernels?
  • How can I assign static names for SCSI devices using udev in Red Hat Enterprise Linux 7 and later kernels?
  • 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
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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