{
  "slug": "raidframe",
  "term": "RAIDframe",
  "aliases": [],
  "definition": "RAIDframe is a disk-array framework that separates data-layout and I/O policies from a shared execution engine.",
  "note": "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. [ipds96]\n\nThe 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. [ipds96]\n\nNetBSD 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. [raid-man] [raidctl-man]\n\nIn 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. [raidctl-code] [kernel-code]",
  "status": "shipping",
  "advantages": [],
  "limitations": [
    {
      "text": "An in-memory operation commit point does not by itself establish crash durability or application-level transaction atomicity.",
      "citationIds": [
        "ipds96",
        "raid-man"
      ]
    }
  ],
  "related": [
    "raid",
    "raid-rebuild",
    "raid-consistency-check"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "ipds96",
      "title": "Courtright II, Gibson, Holland and Zelenka: A Structured Approach to Redundant Disk Array Implementation, IPDS 1996, sections 2-4",
      "url": "https://www.pdl.cmu.edu/PDL-FTP/RAID/IPDS96.pdf",
      "accessed": "2026-11-30"
    },
    {
      "id": "raid-man",
      "title": "NetBSD 10 raid(4): RAIDframe driver, component labels and parity recovery; pinned source",
      "url": "https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/share/man/man4/raid.4",
      "accessed": "2026-11-30"
    },
    {
      "id": "raidctl-man",
      "title": "NetBSD 10 raidctl(8): parity maps, status, rewrite and reconstruction; pinned source",
      "url": "https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sbin/raidctl/raidctl.8",
      "accessed": "2026-11-30"
    },
    {
      "id": "raidctl-code",
      "title": "NetBSD 10 raidctl.c: -p/-P dispatch and check_parity; pinned source",
      "url": "https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sbin/raidctl/raidctl.c",
      "accessed": "2026-11-30"
    },
    {
      "id": "kernel-code",
      "title": "NetBSD 10 rf_netbsdkintf.c: RAIDFRAME_CHECK_PARITY returns parity_good; pinned source",
      "url": "https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sys/dev/raidframe/rf_netbsdkintf.c",
      "accessed": "2026-11-30"
    }
  ],
  "provenance": [
    "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."
  ],
  "updated": "2026-11-30"
}
