[dm-devel] [PATCH] multipath-tools: add basic info on how to use multipath-tools with NVMe devices

Xose Vazquez Perez xose.vazquez at gmail.com
Mon Mar 28 17:04:04 UTC 2022


Cc: Martin Wilck <mwilck at suse.com>
Cc: Benjamin Marzinski <bmarzins at redhat.com>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: DM-DEVEL ML <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
 README.nvme | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 README.nvme

diff --git a/README.nvme b/README.nvme
new file mode 100644
index 00000000..70bf6b0d
--- /dev/null
+++ b/README.nvme
@@ -0,0 +1,12 @@
+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
-- 
2.35.1



More information about the dm-devel mailing list