mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 18:45:53 +00:00
674ca18968
The PVE disks/list poll and the agent SMART report both observe a RAID controller's exported volume, but PVE surfaces its NAA identifier as a bare-hex serial while smartctl reports the same value as a naa.-prefixed WWN with no serial. The linked-disk join compared serial to serial and WWN to WWN verbatim, so the volume rendered twice (/dev/sda and sda) with independent metric histories. Hardware identity comparison now normalizes reporter framing (naa., eui., wwn-, 0x prefixes, case) and folds serial and WWN together before comparing. Values are never truncated: sibling volumes on one controller share their leading WWN bytes, and a truncated udev ID_WWN must stay unequal to a full identifier. Placeholder serials no longer count as an identity match. Refs #1720