{
  "slug": "dm-unstriped",
  "term": "dm-unstriped",
  "aliases": [
    "Device-mapper unstriped target",
    "dm-unstripe"
  ],
  "definition": "dm-unstriped is a Linux device-mapper target that exposes one member's address sequence through an existing striped block-device address space.",
  "note": "Purpose: Unstriping selects addresses; it does not reconstruct missing bytes, add parity or bypass failure of the backing striped device. [unstriped-doc] [unstripe-code]\n\nGeometry: For N members, chunk size C, zero-based member i, backing offset O and a target starting at zero, sector x maps to O + N*C*floor(x/C) + i*C + (x mod C). Units are 512 bytes. Require 0 <= i < N and a positive length divisible by C; check the expanded backing span separately. [unstripe-code] [sector-units] [mapping-example]\n\nExample: N=4, C=256, i=2 and O=0 map x=0, 255, 256 and 511 to 512, 767, 1536 and 1791. A 512-sector view reaches beyond backing sector 511. This is integer arithmetic, not a loaded target. [mapping-example]\n\nVersion boundary: Linux v6.12 uses the incoming bio sector without subtracting the target start. Commit 83c10e8dd436 corrects this using dm_target_offset. At target start 1024, N=2, C=128, i=1 and O=0, the first sector maps to 128 with relative addressing, versus 2176 with the old calculation. This example is address arithmetic, not a kernel test. [unstripe-code] [origin-fix]\n\nValidation: Non-power-of-two chunks use division. The v6.12 member-index check is weaker than 0 <= i < N. Its guide's loop example requests length 1 with chunk 256, contradicting the constructor's divisibility check. The later origin fix does not change these constructor checks. No kernel mapping was loaded here. [unstriped-doc] [unstripe-code] [origin-fix]",
  "status": "shipping",
  "advantages": [],
  "limitations": [
    {
      "text": "A component-address view does not establish physical isolation, improved latency or missing-member recovery.",
      "citationIds": [
        "unstriped-doc",
        "unstripe-code"
      ]
    }
  ],
  "related": [
    "dm-striped",
    "device-mapper",
    "raid-0",
    "stripe-unit"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "unstriped-doc",
      "title": "Linux v6.12: unstriped target documentation and loop-device example",
      "url": "https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/unstriped.rst",
      "accessed": "2026-12-01"
    },
    {
      "id": "unstripe-code",
      "title": "Linux v6.12: dm-unstripe.c constructor, mapping and device iteration",
      "url": "https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-unstripe.c",
      "accessed": "2026-12-01"
    },
    {
      "id": "sector-units",
      "title": "Linux v6.12: block-layer sector address units",
      "url": "https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/blk_types.h",
      "accessed": "2026-12-01"
    },
    {
      "id": "mapping-example",
      "title": "Hesela: exact inverse-striping arithmetic and independent enumeration tests",
      "url": "https://hesela.dev/research/dm-unstriped/README.md",
      "accessed": "2026-12-01"
    },
    {
      "id": "raid-context",
      "title": "Hesela: RAID layouts, capacity and inverse striping",
      "url": "https://hesela.com/tech/raid/",
      "accessed": "2026-12-01"
    },
    {
      "id": "origin-fix",
      "title": "Linux commit 83c10e8dd436: target-relative unstriped address mapping",
      "url": "https://github.com/torvalds/linux/blob/83c10e8dd43628d0bf86486616556cd749a3c310/drivers/md/dm-unstripe.c",
      "accessed": "2026-12-01"
    }
  ],
  "updated": "2026-12-01",
  "provenance": [
    "Static source comparison: Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a and origin fix 83c10e8dd43628d0bf86486616556cd749a3c310; downstream backport coverage was not surveyed.",
    "Constructed integer mapping checked against independent stripe enumeration. No device-mapper table, block device or filesystem was created or modified.",
    "The arithmetic model rejects invalid member indices even where the reviewed parser does not; it is not a kernel-table validator.",
    "The historical hardware-specific performance example is not generalized to NVMe devices or reported as a Hesela measurement."
  ]
}
