middleware
middleware copied to clipboard
NAS-127511 / 25.04 / Fix zpool status for reporting used spare disks correctly
Problem
zpool.status
was not properly reporting path for disk properly when a spare had replaced a data disk.
Solution
We are now using zpool status
for retrieving serialized information about the zpool so we can properly account for disk path being reported for spare based disks and that is much better optimized for a system with large number of disks as compared to py-libzfs.