Skip to contentSkip to conversation

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

PATCH Superseded Xose Vazquez Perez 2 participants 6 messages Mar 28, 2022 – Jun 17, 2022 Device mapper

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.nvme | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 README.nvme
README.nvme new file +12 -0
new file mode 100644
index 00000000..70bf6b0d
@@ -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
Signature · 6 lines
2.35.1

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
#1 lore raw
Quoted 9 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

---
 README.nvme | 12 ++++++++++++

 1 file changed, 12 insertions(+)

 create mode 100644 README.nvme

Why another separate README with just 12 lines?

Martin

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

#2 lore raw
Quoted 11 lines · Martin Wilck
Quoted 9 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
---
  README.nvme | 12 ++++++++++++
  1 file changed, 12 insertions(+)

 create mode 100644 README.nvme

Quoted 3 lines

Why another separate README with just 12 lines?

Martin

README.md is intended multipath-tools developers. And README.alua and README.nvme are for sysadmins.

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

#3 lore raw
Quoted 12 lines · Xose Vazquez Perez
Quoted 11 lines · Martin Wilck
Quoted 9 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

---
  README.nvme | 12 ++++++++++++

  1 file changed, 12 insertions(+)

  create mode 100644 README.nvme

Quoted 7 lines
Quoted 3 lines

Why another separate README with just 12 lines?

Martin

README.md is intended multipath-tools developers. And README.alua and README.nvme are for sysadmins.

I see no fundamental reason not to merge all READMEs into one, and create "sysadmin" and "developer" sections.

Regards,
Martin

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

#4 lore raw
Quoted 15 lines · Martin Wilck
Quoted 14 lines · Xose Vazquez Perez
Quoted 13 lines · Martin Wilck
Quoted 9 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
---
   README.nvme | 12 ++++++++++++
   1 file changed, 12 insertions(+)

  create mode 100644 README.nvme

Why another separate README with just 12 lines?

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Martin

README.md is intended multipath-tools developers. And README.alua and README.nvme are for sysadmins.

I see no fundamental reason not to merge all READMEs into one, and create "sysadmin" and "developer" sections.

README.md is in markdown syntax.
README.alua and README.nvme are plain text, and its content is easier to identify. Are you running out of inodes? :-)

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

#5 lore raw
Quoted 23 lines · Xose Vazquez Perez
Quoted 21 lines · Martin Wilck
Quoted 19 lines · Xose Vazquez Perez
Quoted 11 lines · Martin Wilck
Quoted 9 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

---
   README.nvme | 12 ++++++++++++

   1 file changed, 12 insertions(+)

   create mode 100644 README.nvme

Quoted 3 lines

Why another separate README with just 12 lines?

Martin

README.md is intended multipath-tools developers. And README.alua and README.nvme are for sysadmins.

Quoted 7 lines
Quoted 2 lines

I see no fundamental reason not to merge all READMEs into one, and create "sysadmin" and "developer" sections.

README.md is in markdown syntax.
README.alua and README.nvme are plain text, and its content is easier to identify.
Are you running out of inodes? :-)

No, it' about user friendliness. These .txt files are developer-level documentation, while ALUA and NVMe are topic which are at least as important to users as for developers. Distributions tend to ship the READMEs under /usr/share/doc, but to be realistic, how many users still look there for documentation these days?

Regards,
Martin

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