diskinfo(8) doesn't see all NVMe devices immediately after boot
I have a test system here with 24 NVMe devices, only a handful of which I'm actually using. Running diskinfo immediately after boot, only a subset of them are visible. Running diskinfo immediately again shows all of them:
OpenIndiana Hipster 2021.10 Version illumos-ae5a8bed14 64-bit DEBUG enabled Hostname: oi-119 oi-119 console login: root Password: Last login: Thu Jun 23 08:34:09 from 10.205.16.197 Jun 23 10:43:26 oi-119 login: ROOT LOGIN /dev/console The illumos Project illumos-ae5a8bed14 Jun. 22, 2022 illumos development build: 2022-Jun-22 [illumos-gate] root@oi-119:~# diskinfo | wc -l 21 root@oi-119:~# diskinfo | wc -l 24 root@oi-119:~#
This does not happen with nvmeadm(8) or format(8), so I suspect something is missing in diskinfo(8) to trigger attaching blkdev to all NVMe namespaces.