Several portions of smartmontools could be reused. The SCSI generic https://github.com/doug-gilbert/sg3_utils (was https://github.com/hreinecke/sg3_utils) could really make use of the code to pass commands through RAID controllers. At one point I ran into a Seagate firmware update which provided instructions to use the sg3_utils to install, but sg3_utils couldn't pass commands through the controller.
The idea has been floating around for >5 years, notably it is issue 820 in Trac. Due to that I'm aware of two prior attempts:
Several portions of smartmontools could be reused. The SCSI generic https://github.com/doug-gilbert/sg3_utils (was https://github.com/hreinecke/sg3_utils) could really make use of the code to pass commands through RAID controllers. At one point I ran into a Seagate firmware update which provided instructions to use the sg3_utils to install, but sg3_utils couldn't pass commands through the controller.
The idea has been floating around for >5 years, notably it is issue 820 in Trac. Due to that I'm aware of two prior attempts:
Is the resolution to Trac issue 1419 going to be the bug DB moves to GitHub? Right now GitHub has mindshare...