RAIDframe
RAIDframe is a disk-array framework that separates data-layout and I/O policies from a shared execution engine.
The 1996 design represents reads, writes and XOR dependencies as directed acyclic graphs. Its roll-away recovery reverses completed work after a pre-commit error and selects another graph for the changed array state; after the commit point it finishes updates on surviving disks. This operation-level boundary is distinct from rebuilding a failed member. [1]
The same array-policy code ran in simulation, a raw-disk user process and a kernel driver. The simulator did not move user data and omitted computation and host-transfer time, so timing agreement did not establish payload correctness. [1]
NetBSD implements RAIDframe through raid(4) and raidctl(8). Its parity map tracks regions needing recovery work after an unclean shutdown. That map is not a copy of lost data. [2] [3]
In the pinned NetBSD 10 code, raidctl -p reads parity_good through RAIDFRAME_CHECK_PARITY. It does not initiate a media scan. The -P option can initiate parity rewriting when the reported state is dirty; -R reconstructs a component. These operations answer different questions. [4] [5]
Relations
- related
- RAID, RAID rebuild, RAID consistency check
Limitations
- An in-memory operation commit point does not by itself establish crash durability or application-level transaction atomicity. [1, 2]
Citations
- Courtright II, Gibson, Holland and Zelenka: A Structured Approach to Redundant Disk Array Implementation, IPDS 1996, sections 2-4
- NetBSD 10 raid(4): RAIDframe driver, component labels and parity recovery; pinned source
- NetBSD 10 raidctl(8): parity maps, status, rewrite and reconstruction; pinned source
- NetBSD 10 raidctl.c: -p/-P dispatch and check_parity; pinned source
- NetBSD 10 rf_netbsdkintf.c: RAIDFRAME_CHECK_PARITY returns parity_good; pinned source
Sources & caveats
- The IPDS 1996 paper concerns a historical implementation; NetBSD behavior is separately pinned to b48e4fe986a501472d677fd79c0feaf04f1c7f19.
- Source synthesis only: no NetBSD array, fault injection or hardware performance experiment was executed.