简体   繁体   English

Linux LVM快照脏块位图

[英]Linux LVM snapshot dirty block bit map

I'm looking for ways to create full/incremental snapshot backups on Linux for different file systems. 我正在寻找在Linux上为不同文件系统创建完整/增量快照备份的方法。

I wanted pointers on which LVM/Device mapper source files to look for regarding creating snapshots (COW mechanism) and where changed block bit maps are stored for incremental backups. 我希望找到有关创建快照(COW机制)的LVM /设备映射器源文件,以及在其中存储更改的块位图以进行增量备份的指针。

Is there API calls available on Device mapper to create a snapshot and get the dirty block bit map during incremental? 设备映射器上是否有可用的API调用来创建快照并在增量过程中获取脏块位图?

Also, is there any other mechanism available on Linux to create snapshots which is common across LVM volumes and raw disk file systems? 另外,Linux上是否有其他机制可用于创建LVM卷和原始磁盘文件系统共有的快照?

It's only a quick and partial answer, but since kernel 3.6, you can access the snapshot metadata and perform an incremental backup if you use the dm-thin target. 这只是一个快速而部分的答案,但是从内核3.6开始,如果使用dm-thin目标,则可以访问快照元数据并执行增量备份。

You will have more information in the commit message 您将在提交消息中获得更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM