Contributed by jolan on from the 3.8-goodies dept.
Some of you may remember that shortly before the 3.7 release was finalized, the Adaptec RAID driver was disabled in GENERIC. This was done to reinforce OpenBSD's "because it has to be free" philosophy after getting the run around from Adaptec about when freely available RAID management tools would become available. In the spirit of displacing proprietary tools by creating a free and open competitor, OpenBSD 3.8 will ship with the beginnings of a RAID management framework.
Work initially began by making the ami(4) driver aware of the mappings of physical disks to logical disks and adding RAID ioctls. Next, support for SCSI enclosures was fleshed out. The safte(4) driver was written and the ses(4) driver was re-written. This was done for the reporting of hardware monitor data such as temperature, fan speed, and power status. It also provided functionality for blinking lights on the enclosure so finding the correct drive to swap would be easier. Finally, the bioctl(8) utility was designed in order to query drive status, enable alarms, and issue commands on a given RAID controller.
This is a minimal implementation which lacks a drive failure notification mechanism (bioctl must be run to see a failure), but there is support for hot spares and online rebuilding of a degraded array. Keep in mind that bio(4) and bioctl are the start of framework which can be expanded to support more hardware.
Theo has sent a mail to misc@ with more information and a mini-demo of how all the pieces and commands fit together.
(Comments are closed)