`/dev/disk/by-id/` names of newly created nvme namespaces are changing after I/O is run to the namespace.
Issue
-
/dev/disk/by-id/nvme-Dell*names of newly created nvme namespaces are changing after I/O is run to the namespace. Issue is reproducible with following steps1. Connect 3 nvme drives with namespace support. 2. Create 4 namespaces on each drive with same size. 3. Attach to the controller. 4. Please note /dev/disk/by-d nvme-Dell* names before I/O starts. 5. RUN the I/O test on all the newly created namespaces . 6. dd if=/dev/random of=${DRIVE}n1 bs=1G count=50 & dd if=/dev/random of=${DRIVE}n2 bs=1G count=50 & dd if=/dev/random of=${DRIVE}n3 bs=1G count=50 & dd if=/dev/random of=${DRIVE}n4 bs=1G count=50 & 7. Check the /dev/disk/by-id nvme-Dell* namespace names. -
Test log - Before I/O Run
nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00023 -> ../../nvme3n3 nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00087 -> ../../nvme1n3 nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00096 -> ../../nvme0n3 nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00101 -> ../../nvme2n1 -
Test log - After I/O Run
nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00023 -> ../../nvme3n3 nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00087 -> ../../nvme1n1 ------> Name Changed From 1n3 nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00096 -> ../../nvme0n2 ------> Name Changed From 0n3 nvme-Dell_NVMe_PM1743_RI_E3.S_1.92TB_S123450TA00101 -> ../../nvme2n1
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.