Saw I/O errors while delete/create/attach a namespace on nvme device.
Wen Xiong
wenxiong at linux.ibm.com
Tue Nov 7 05:26:26 PST 2023
> 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
More information about the Linux-nvme
mailing list