Skip to contentSkip to conversation

multipath-tools: add basic info on how to use multipath-tools with NVMe devices

PATCH New Xose Vazquez Perez 1 participant 1 message Jul 23, 2022 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 multipath-tools: add basic info on how to use multipath-tools with NVMe devices

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
---
 README.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
README.md +16 -0
index 2322082c..b05b1332 100644
@@ -174,3 +174,19 @@ To enable ALUA, the following options should be changed:
 
 - Huawei OceanStor:
    "Host Access Mode" should be changed to "Asymmetric".
+
+
+NVMe
+====
+To use Device Mapper/multipath-tools with NVMe devices,
+if the Native NVMe Multipath subsystem is enabled
+( "Y" in `/sys/module/nvme_core/parameters/multipath` ),
+it has to be disabled:
+
+`echo "options nvme_core multipath=N" > /etc/modprobe.d/01-nvme_core-mp.conf`,
+regenerate the initramfs (`dracut -f` or `update-initramfs`) and reboot.
+
+Check that it is disabled(N) with:
+`cat /sys/module/nvme_core/parameters/multipath`
+or
+`systool -m nvme_core -A multipath`
Signature · 6 lines
2.37.1

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel