Score:1

Swap disk devices in RHEL 8

va flag

I need to swap a couple of disk devices around on a RHEL 8 server because it's unfortunately going to be problematic to rebuild it and I need the devices in a specific order.

I think the following udev rules used to work in RHEL 6, but then that didn't use systemd:

KERNEL=="sdb", NAME="sdb_old"
KERNEL=="sdc", NAME="sdb"
KERNEL=="sdb_old", NAME="sdc"

They don't work in RHEL 8.

Looking at the systemd udev documentation, it looks like "NAME" is now only used for network interfaces.

A.B avatar
cl flag
A.B
XY problem. You probably don't need to swap them. Have a look at /dev/disk/ instead.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.