On systems with multiple 2.5-inch form factor PCIe SSD devices, locating the
physical drive can be made easier with symlinks that contain the drive bay
and slot information like this:
/dev/disk/by-path/PCIe_SSD_in_Slot_9_Bay_1-nvme0n1 -> ../../nvme0n1
/dev/disk/by-path/PCIe_SSD_in_Slot_9_Bay
On systems with multiple 2.5-inch form factor PCIe SSD devices, locating the
physical drive can be made easier with symlinks in /dev/disk/by-location.
This rule reads the bay and slot information for each nvme device and creates
symlinks like this:
/dev/disk/by-location/pcie-ssd-in-slot-9-bay-1-n