[dm-devel] Automatic blacklisting of NVMe devices if NVMe native MP

Mike Snitzer snitzer at redhat.com
Wed Jun 5 14:33:55 UTC 2019


On Tue, Jun 04 2019 at  3:29am -0400,
Eyal Ben-David <EYALBE at il.ibm.com> wrote:

>    Hi all,
> 
>    Is it possible to automatically blacklist all NVMe devices if the NVMe
>    driver has it's own multipath?
> 
>    I mean if for example if:
> 
>    cat /sys/module/nvme_core/parameters/multipath
>    Y
> 
>    then device mapper would automatically blacklist all NVMe devices to avoid
>    unexpected consequences.

The native NVMe multipath device would only look to have one path from
above.  So multipath shouldn't even pick up these native NVMe multipath
devices.  And in addition, IIRC, multipath-tools has been trained to at
least recognize native NVMe multipath device and displays useful info
about them.

Have you seen an actual problem?  What versions of kernel and
multipath-tools are you using?

Mike




More information about the dm-devel mailing list