From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: Automatic blacklisting of NVMe devices if NVMe native MP Date: Wed, 5 Jun 2019 10:33:55 -0400 Message-ID: <20190605143355.GA734@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Eyal Ben-David Cc: dm-devel@redhat.com List-Id: dm-devel.ids On Tue, Jun 04 2019 at 3:29am -0400, Eyal Ben-David 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