On Mon, Oct 10, 2022 at 10:19:02AM +0200, Christoph Hellwig wrote: > On Mon, Oct 10, 2022 at 10:02:18AM +0200, Daniel Wagner wrote: > > Doesn't give me the same consistent result as with Keith's version: > > That's because it is broken.. Try this version: This version works. Tested-by: Daniel Wagner <dwagner@xxxxxxx> # ls -l /dev/nvme* crw------- 1 root root 10, 124 Oct 10 10:47 /dev/nvme-fabrics crw------- 1 root root 243, 0 Oct 10 10:46 /dev/nvme0 brw-rw---- 1 root disk 259, 0 Oct 10 10:46 /dev/nvme0n1 crw------- 1 root root 243, 2 Oct 10 10:48 /dev/nvme2 brw-rw---- 1 root disk 259, 2 Oct 10 10:48 /dev/nvme2n1 brw-rw---- 1 root disk 259, 3 Oct 10 10:48 /dev/nvme2n1p1 brw-rw---- 1 root disk 259, 5 Oct 10 10:48 /dev/nvme2n2 brw-rw---- 1 root disk 259, 7 Oct 10 10:48 /dev/nvme2n3 brw-rw---- 1 root disk 259, 9 Oct 10 10:48 /dev/nvme2n4 crw------- 1 root root 243, 3 Oct 10 10:48 /dev/nvme3 crw------- 1 root root 243, 4 Oct 10 10:48 /dev/nvme4 crw------- 1 root root 243, 5 Oct 10 10:48 /dev/nvme5 # nvme disconnect-all # nvme connect-all # ls -l /dev/nvme* crw------- 1 root root 10, 124 Oct 10 10:47 /dev/nvme-fabrics crw------- 1 root root 243, 0 Oct 10 10:46 /dev/nvme0 brw-rw---- 1 root disk 259, 0 Oct 10 10:46 /dev/nvme0n1 crw------- 1 root root 243, 2 Oct 10 10:48 /dev/nvme2 brw-rw---- 1 root disk 259, 2 Oct 10 10:48 /dev/nvme2n1 brw-rw---- 1 root disk 259, 3 Oct 10 10:48 /dev/nvme2n1p1 brw-rw---- 1 root disk 259, 5 Oct 10 10:48 /dev/nvme2n2 brw-rw---- 1 root disk 259, 7 Oct 10 10:48 /dev/nvme2n3 brw-rw---- 1 root disk 259, 9 Oct 10 10:48 /dev/nvme2n4 crw------- 1 root root 243, 3 Oct 10 10:48 /dev/nvme3 crw------- 1 root root 243, 4 Oct 10 10:48 /dev/nvme4 crw------- 1 root root 243, 5 Oct 10 10:48 /dev/nvme5