作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (1): 79-81.

• 软件技术与数据库 • 上一篇    下一篇

基于 Linux 内核的实时网络备份系统

李敏榆   

  1. 中兴通讯上海研发中心,上海 201203
  • 出版日期:2006-01-05 发布日期:2006-01-05

Real-time Network Backup System Based on Linux Kernel

LI Minyu   

  1. Shanghai Research Centre of ZTE Corporation, Shanghai 201203
  • Online:2006-01-05 Published:2006-01-05

摘要: 提出了一种基于Linux 内核的实时网络备份系统(RTNB),并基于Linux-2.4.19 内核实现了系统原型。其工作在Linux 内核内部,对应用程序透明。在内核的设备驱动层入口处将记录块包装成一个三元组(数据,记录块号,记录块大小)进行网络传输。实现了相同文件系统下,本地和远程服务器之间分区到分区的备份。同时这一设计支持各种不同的文件系统和存储介质。实验表明当带宽达到100Mbps时,同步备份和异步备份的存储时间均只比相应的本地存储有较小的增加,可以达到较高的备份效率。

关键词: 网络备份;Linux 内核;文件系统

Abstract: This paper presents a real-time network backup system (RTNB) based on Linux kernel, and implements a prototype based on linux-2.4.19 kernel. The prototype system is working in the kernel, and it is transparent to user. At the entrance of the device driver layer, each block is encapsulated to be a three-domain element (data, block number, block size), and the element is transported to the remote backup server. RTNB system implements a partition-to-partition backup from local server to backup server, when the file systems of both sides are the same. The experimental results show that the time spending of storage of both synchronous backup and asynchronous backup are little longer than that of local storage when the bandwidth is 100 Mbps, and the efficiency is satisfying.

Key words: Network backup; Linux kernel; File system