How to Use the By-path Method for Defining Block Devices in the Disk Setup
When block device naming is not persistent, you may specify the “by-path” name on the <blockdev> line in a node’s disk setup instead of, say, /dev/nvme2n1. For example: <blockdev>/dev/disk/by-path/pci-0000:03:00.0-scsi-0:3:111:0</blockdev> You may find the “by-path” names for a node’s block devices by running the following command on that node: # ls…