New disk in pool shows up in zpool status, but shows N/A for pool in disk list

Description

I think it is just a graphical glitch in the webui, but I am not certain. I am not a developer at all.

I offlined a disk in my pool and then swapped it out as I am replacing disks. The pool resilvered and shows healthy. The zpool status shows the pool is healthy and the drive is there. However, the disk list in the webui shows N/A for the pool the disk is assigned to.

Problem/Justification

None

Impact

None

Activity

Show:

Vladimir Vinogradenko 
January 19, 2022 at 3:37 PM

Fixed by code improvements in duplicated PR

Vladimir Vinogradenko 
January 17, 2022 at 2:55 PM

Failed to repeat the issue by replacing a disk. Spent 2.5 hours chasing a wrong root cause (database race condition between disk.sync_all and disk.sync_zfs_guid). Tried to repeat the same offlining a disk before replacing it and succeeded.

Turns out geom.scan is ran as a side-effect if the replaced device is still online and newly created partition gptid can then be successfully mapped to the disk device name by corresponding functions. However, if the replaced device is offline, GEOM cache is not updated and pool topology retrieved by sync_zfs_guid has disk: null for newly added vdev.

Bug Clerk 
January 17, 2022 at 2:49 PM

Bonnie Follweiler 
January 10, 2022 at 8:19 PM

Thank you .
This ticket is now in our queue to review. An engineering representative will update with any further questions or details in the near future.

Josh 
January 10, 2022 at 7:57 PM

Debug file attached

Duplicate

Details

Assignee

Reporter

Labels

Impact

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created January 10, 2022 at 7:22 PM
Updated July 6, 2022 at 9:02 PM
Resolved January 19, 2022 at 3:37 PM