public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
From: Wen Xiong <wenxiong@linux.ibm.com>
To: linux-nvme@lists.infradead.org
Cc: Wenxiong <wenxiong@us.ibm.com>,
	Christoph Hellwig <hch@infradead.org>,
	Keith Busch <kbusch@kernel.org>
Subject: nvme native multipath question with two physical paths
Date: Mon, 19 Feb 2024 13:03:48 -0600	[thread overview]
Message-ID: <f5c8d980ffd12601d258c510b879f4d9@linux.ibm.com> (raw)

Hi All,

In our nvme native multipath support drawer, each nvme has two physical 
paths/two controllers.
We created a shared namespace on it.

# nvme list-ns /dev/nvme2
[   0]:0x1
# nvme list-ns /dev/nvme6
[   0]:0x1

# ls -l /dev/nvme2*
crw-------. 1 root root 240, 2 Feb 18 18:05 /dev/nvme2
brw-rw----. 1 root disk 259, 4 Feb 18 18:14 /dev/nvme2n1
# ls -l /dev/nvme6*
crw-------. 1 root root 240, 6 Feb 18 18:05 /dev/nvme6

nvme-subsys2 - NQN=nqn.1994-11.com.samsung:nvme:PM1735a:2.5-inch:
\
+- nvme2 pcie 052f:80:00.0 live
+- nvme6 pcie 058f:80:00.0 live

#nvme list
/dev/nvme2n1          /dev/ng2n1


Run stress io test over nvme2n1, we hot unplug nvme2(052f:80:00), 
/dev/nvme2 controller is gone.
/dev/nvme2n1 still existed and io still running over nvme2n1 without 
error. Looks io test still
running over another path(nvme6)bbut we didn’t see /dev/nvme6n1 in /dev 
dir.

# ls -l /dev/nvme2*
brw-rw----. 1 root disk 259, 4 Feb 18 18:22 /dev/nvme2n1
# ls -l /dev/nvme6*
crw-------. 1 root root 240, 6 Feb 18 18:05 /dev/nvme6

With nvme native mpath enable,
- What multipath disk name we should use for ANA nvme multipath?
- Why IO still running over nvme2n1 without error even nvme2 controller 
already unplug?
- Shared namespace is still existed since shared namespace  has another 
controller on it?
- How can let nvme6n1 showing up after nvme2 controller gone.

Thanks for your help!
Wendy



             reply	other threads:[~2024-02-19 19:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 19:03 Wen Xiong [this message]
2024-02-19 19:28 ` nvme native multipath question with two physical paths Keith Busch
2024-02-19 21:55   ` Wen Xiong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5c8d980ffd12601d258c510b879f4d9@linux.ibm.com \
    --to=wenxiong@linux.ibm.com \
    --cc=hch@infradead.org \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=wenxiong@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox