Urgent.News

What's breaking now, across hundreds of outlets.

Tech

We open sourced dm-cdp: a device mapper target for block level continuous data protection on Linux

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…

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.

When 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.

To 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).

Although 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.

kvmdr_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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Cloudflare Error 521 on Linux Foundation Portal: Verify Origin Health, Document Downtime, and Escalate SLA or Access Impacts

Incident Summary & Anatomy of Cloudflare Error 521 When a learner requests trainingportal.linuxfoundation.org and receives Cloudflare Error 521 – Web server is down , the edge proxy has already…

  • Error 521 indicates web server down between Cloudflare and Linux Foundation's origin
  • Observability issue: discrepancy between live traffic and status dashboards
  • TCP connection refusal or timeout triggers HTTP status code 521

Aprendendo sobre filas 1 - Conceitos básicos e prática com RabbitMQ + SpringBoot

Eu sei que você entrou nessa postagem achando que eu seria direto e prático logo de cara, mas eu gosto de escrever, dar exemplos, entender os fundamentos, e explicar o que está por trás de cada parte…

  • Fila resolves sobrecarga de solicitações em sistemas comerciais
  • Pedidos armazenados em ordem de chegada na fila
  • Processamento ordenado garante eficiência controlada

More from Friday 27 November →