Actions
Bug #14761
opendiskinfo(8) doesn't see all NVMe devices immediately after boot
Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
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.
Updated by Hans Rosenfeld 3 days ago
- Subject changed from not all nvme blkdev instances attached after boot to diskinfo(8) doesn't see all NVMe devices immediately after boot
- Description updated (diff)
- Category set to cmd - userland programs
Updated by Igor Kozhukhov 3 days ago
try to run 'devfsadm -C' before 'diskinfo' and i'll see all drives.
blkdev not implemented power manager and if drives are not used they will be detached again
Actions