|
Description
|
Currently, when a disk is diagnosed as faulty (through the
disk-transport module), the FRU is generated against the
hc scheme disk path. It should be the case that replacing this
disk results in the fault being resolved. Unfortunately, the
hc_is_present() method doesn't notice that the contents of the
bay have changed, and therefore the original FRU is no longer
present.
This works most of the time because the ASRU (which includes
the devid) happens to be unique for the disk. But there are
other cases (such as hotplug, or where the ASRU could be a ZFS
vdev), where it's important to distinguish that the original
disk is no longer present. While we could have a special case
for disks, it makes more sense to simply extend the default
presence detection to include the serial and part number, if
available.
|