Saw I/O errors while delete/create/attach a namespace on nvme device.

Wen Xiong wenxiong at linux.ibm.com
Tue Nov 7 11:22:23 PST 2023


On 2023-11-07 09:18, Keith Busch wrote:

Hi Keith,

> If you drop all open references to /dev/nvme0n1, then the handle should
> get deleted, and a manual rescan after that should get your new
> namespace visible.

Should we call nvme_ns_scan(*ctrl, nsid) again if nguid/uuid/eui64/csi 
are changed when recreating a namespace? Customers don't need to run 
ns-attach/ns-rescan manually in user space.

Thanks!
Wendy



More information about the Linux-nvme mailing list