{
  "id": 22191676,
  "title": "We open sourced dm-cdp: a device mapper target for block level continuous data protection on Linux",
  "url": "https://urgent.news/2026/11/27/we-open-sourced-dm-cdp-a-device-mapper-target-for-block-level",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T16:50:26.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/kvmdrai/we-open-sourced-dm-cdp-a-device-mapper-target-for-block-level-continuous-data-protection-on-linux-56a6"
  },
  "original_language": "en",
  "account": "The KVMDR team has introduced dm-cdp, an open-source device mapper target designed for block-level continuous data protection (CDP) on Linux. dm-cdp records every write at the Linux block layer and is released under the GPL v2 license. A companion filesystem, kvmdr_fs, is currently under development for sharing SAN LUNs across multiple KVM hosts, licensed under GPL v3.\n\nWhen implemented, dm-cdp functions as a kernel module, wrapping a block device with its device mapper cdp target. Each write to the device is captured as a journal, enabling block-level data protection. It utilizes a ring buffer to store writes, transitioning to a changed block bitmap if the ring overflows ensures no data loss. Users can interact with dm-cdp via tools/cdp-drain and tools/cdp-apply, which pull records from the ring and replay them onto another disk, respectively.\n\nTo support kernel updates, dm-cdp includes DKMS (Dynamic Kernel Module Support) configuration. The module is tested on Linux kernels 6.1 (Debian 12), 6.8 (Ubuntu 24.04), and 6.12 (Debian 13).\n\nAlthough still in development, dm-cdp has been verified in those environments and is not recommended for production use. Users can build the module and test the tools using make and load commands. For more detailed information, refer to the documentation at Documentation/admin-guide/device-mapper/dm-cdp.rst. The source code for dm-cdp is available on GitHub at https://github.com/ravi-gitprime/IO-Filter-Driver-for-Linux.\n\nkvmdr_fs, a new filesystem for sharing iSCSI and FC LUNs across KVM hosts, is also being developed by the KVMDR team. Its early stage progress and GPL v3 licensing can be found on GitHub at https://github.com/ravi-gitprime/kvmdr_fs. Further updates, issues, and pull requests are welcome on their community page at https://kvmdr.ai/community.",
  "summary": "Introduction The KVMDR team has released dm-cdp , a device mapper target that records every write at the Linux block layer, under GPL v2. We have also started developing kvmdr_fs on GitHub, a filesystem for sharing SAN LUNs across multiple KVM hosts. This post explains how dm-cdp works and how to try it. What is dm-cdp? dm-cdp is a kernel module for in guest continuous data protection (CDP). Wrap…",
  "summary_source": "publisher",
  "key_points": [
    "dm-cdp is open-source device mapper target for Linux block-level CDP.",
    "Records every write at Linux block layer, released under GPL v2.",
    "Companion filesystem kvmdrfs under development, licensed under GPL v3."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}