From: Wen Xiong <wenxiong@linux.ibm.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-nvme@lists.infradead.org, Wenxiong <wenxiong@us.ibm.com>
Subject: Re: Saw I/O errors while delete/create/attach a namespace on nvme device.
Date: Tue, 07 Nov 2023 07:26:26 -0600 [thread overview]
Message-ID: <cf26ef634f3414927b98da2ebf1e66d0@linux.ibm.com> (raw)
In-Reply-To: <ZUn70pL+YV0adqd0@infradead.org>
> What exactly are you doing? To the Linux host code this looks like the
> NGUID changed for an existing namespace. Are you deleting and
> recreating nsid1 rapidly and the controller is assigning a different
> nguid?
Hi Christoph,
Good morning!
Yes. controller assigned a difference nguid to a namespace.
Steps:
Executed nvme detach-ns /dev/nvme0 --namespace-id=1 --controllers=0x81
Executed nvme delete-ns /dev/nvme0 --namespace-id=1
Executed nvme create-ns /dev/nvme0 --nsze=1562805846 --ncap=1562805846
--flbas=0 -dps=0 -nmic=1
Executed nvme attach-ns /dev/nvme --namespace-id=1 --controllers=0x81
Saw NGUID changed and IO errors when executing attach-ns command.
Thanks a lot!
Wendy
prev parent reply other threads:[~2023-11-07 13:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-07 4:10 Saw I/O errors while delete/create/attach a namespace on nvme device Wen Xiong
2023-11-07 4:36 ` Chaitanya Kulkarni
2023-11-07 8:56 ` Christoph Hellwig
2023-11-07 10:25 ` Chaitanya Kulkarni
2023-11-07 14:31 ` Wen Xiong
2023-11-07 15:18 ` Keith Busch
2023-11-07 15:53 ` Wen Xiong
2023-11-07 19:22 ` Wen Xiong
2023-11-08 7:15 ` Christoph Hellwig
2023-11-07 13:26 ` Wen Xiong [this message]
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=cf26ef634f3414927b98da2ebf1e66d0@linux.ibm.com \
--to=wenxiong@linux.ibm.com \
--cc=hch@infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.