diff mbox series

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

Message ID 20220328170404.8565-1-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: add basic info on how to use multipath-tools with NVMe devices | expand

Commit Message

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

Comments

Martin Wilck March 28, 2022, 5:48 p.m. UTC | #1
On Mon, 2022-03-28 at 19:04 +0200, Xose Vazquez Perez wrote:
> Cc: Martin Wilck <mwilck@suse.com>
> Cc: Benjamin Marzinski <bmarzins@redhat.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
>  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
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Xose Vazquez Perez March 28, 2022, 5:57 p.m. UTC | #2
On 3/28/22 19:48, Martin Wilck wrote:
> On Mon, 2022-03-28 at 19:04 +0200, Xose Vazquez Perez wrote:
>> Cc: Martin Wilck <mwilck@suse.com>
>> Cc: Benjamin Marzinski <bmarzins@redhat.com>
>> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
>> Cc: DM-DEVEL ML <dm-devel@redhat.com>
>> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
>> ---
>>   README.nvme | 12 ++++++++++++
>>   1 file changed, 12 insertions(+)
>>   create mode 100644 README.nvme
> 
> 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
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Martin Wilck April 1, 2022, 10:20 a.m. UTC | #3
On Mon, 2022-03-28 at 19:57 +0200, Xose Vazquez Perez wrote:
> On 3/28/22 19:48, Martin Wilck wrote:
> > On Mon, 2022-03-28 at 19:04 +0200, Xose Vazquez Perez wrote:
> > > Cc: Martin Wilck <mwilck@suse.com>
> > > Cc: Benjamin Marzinski <bmarzins@redhat.com>
> > > Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> > > Cc: DM-DEVEL ML <dm-devel@redhat.com>
> > > Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> > > ---
> > >   README.nvme | 12 ++++++++++++
> > >   1 file changed, 12 insertions(+)
> > >   create mode 100644 README.nvme
> > 
> > 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
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Xose Vazquez Perez June 16, 2022, 8:32 p.m. UTC | #4
On 4/1/22 12:20, Martin Wilck wrote:

> On Mon, 2022-03-28 at 19:57 +0200, Xose Vazquez Perez wrote:
>> On 3/28/22 19:48, Martin Wilck wrote:
>>> On Mon, 2022-03-28 at 19:04 +0200, Xose Vazquez Perez wrote:
>>>> Cc: Martin Wilck <mwilck@suse.com>
>>>> Cc: Benjamin Marzinski <bmarzins@redhat.com>
>>>> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
>>>> Cc: DM-DEVEL ML <dm-devel@redhat.com>
>>>> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
>>>> ---
>>>>    README.nvme | 12 ++++++++++++
>>>>    1 file changed, 12 insertions(+)
>>>>    create mode 100644 README.nvme
>>>
>>> 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.

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
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Martin Wilck June 17, 2022, 6:48 a.m. UTC | #5
On Thu, 2022-06-16 at 22:32 +0200, Xose Vazquez Perez wrote:
> On 4/1/22 12:20, Martin Wilck wrote:
> 
> > On Mon, 2022-03-28 at 19:57 +0200, Xose Vazquez Perez wrote:
> > > On 3/28/22 19:48, Martin Wilck wrote:
> > > > On Mon, 2022-03-28 at 19:04 +0200, Xose Vazquez Perez wrote:
> > > > > Cc: Martin Wilck <mwilck@suse.com>
> > > > > Cc: Benjamin Marzinski <bmarzins@redhat.com>
> > > > > Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> > > > > Cc: DM-DEVEL ML <dm-devel@redhat.com>
> > > > > Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> > > > > ---
> > > > >    README.nvme | 12 ++++++++++++
> > > > >    1 file changed, 12 insertions(+)
> > > > >    create mode 100644 README.nvme
> > > > 
> > > > 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.
> 
> 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
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
diff mbox series

Patch

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