On Thu, Oct 26, 2023 at 07:41:52PM +0200, mwi...@suse.com wrote:
> From: Martin Wilck <mwi...@suse.com>
>
> Signed-off-by: Martin Wilck <mwi...@suse.com>
Reviewed-by: Benjamin Marzinski <bmarz...@redhat.com>
> Cc: Xose Vazquez Perez <xose.vazq...@gmail.com>
> ---
> README.md | 30 ++++++++++++++++++++----------
> 1 file changed, 20 insertions(+), 10 deletions(-)
>
> diff --git a/README.md b/README.md
> index b2ed1f2..2fb423b 100644
> --- a/README.md
> +++ b/README.md
> @@ -273,15 +273,25 @@ To enable ALUA, the following options should be changed:
>
> 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.
> +Using dm-multipath with NVMe
> +----------------------------
>
> -Check that it is disabled(N) with:
> -`cat /sys/module/nvme_core/parameters/multipath`
> -or
> -`systool -m nvme_core -A multipath`
> +NVMe multipath is natively supported by the Linux kernel. If for some reason
> +you prefer using device mapper multipath with NVMe devices,
> +you need to disable native multipathing first:
> +
> + echo "options nvme_core multipath=N" >
> /etc/modprobe.d/01-nvme_core-mp.conf
> +
> +Afterwards, regenerate the initramfs (`dracut -f` or `update-initramfs`) and
> reboot.
> +
> +Using multipath-tools with native NVMe multipath
> +------------------------------------------------
> +
> +If native NVMe multipathing is enabled, you can still use multipath-tools
> +for displaying the topology and some other information about native NVMe
> +multipath setups. This feature is disabled by default. To enable it, set
> +`enable_foreign nvme` in the `defaults` section of `multipath.conf`.
> +Commands like `multipath -ll` will then display information about NVMe
> +native multipath. This support is read-only; modifying the native multipath
> +configuration is not supported.
> --
> 2.42.0