信息网络安全 ›› 2016, Vol. 16 ›› Issue (4): 50-54.doi: 10.3969/j.issn.1671-1122.2016.04.008

• • 上一篇    下一篇

基于文件等级的Ceph数据冗余存储策略的研究

刘莎(), 楚传仁   

  1. 杭州电子科技大学通信工程学院,浙江杭州 310018
  • 收稿日期:2016-02-23 出版日期:2016-04-20 发布日期:2020-05-13
  • 作者简介:

    作者简介: 刘莎(1989—),女,河南,硕士研究生,主要研究方向为云存储技术、Web前端开发;楚传仁(1954—),男,教授,硕士,主要研究方向为光纤通信、无线通信和数据安全算法的芯片设计、大数据/云计算和高速闪存/硬盘混合存储系统。

  • 基金资助:
    浙江省自然科学基金青年基金[LQ12F01001];浙江省固态存储和数据安全关键技术重点科技创新团队项目[2013TD03];浙江省固态硬盘和数据安全技术重点实验室资助项目[2015E10003]

Research on Data Placement Strategy for Ceph Based on File Level

Sha LIU(), Chuanren CHU   

  1. School of Communication Engineering, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China
  • Received:2016-02-23 Online:2016-04-20 Published:2020-05-13

摘要:

文章针对Ceph文件系统的可靠性和安全性进行了重点研究。系统的可靠性和安全性一般通过数据容错技术实现。广泛应用的数据容错技术有完全副本和纠删码。完全副本将数据复制成多份进行分散存储,这种方式会降低存储效率并浪费存储空间;而纠删码虽然可以有效利用存储空间,但由于需要对数据进行编码存储,访问数据时需要对其进行解码操作,使得数据的访问效率较低。文章结合这两种容错机制,在Ceph文件系统的基础上,提出了基于文件等级进行冗余存储的策略。该策略提供完全副本和纠删码两种存储方式,用户可以根据文件的等级划分来选择适合的存储方案。该方案确保重要数据具有高安全性,并能有效利用存储空间。

关键词: 对象文件系统, Ceph, 数据容错机制, 纠删码, 完全副本

Abstract:

This paper focuses on the reliability and security of the Ceph distributed file system. The reliability and security of the system are realized through the data fault tolerance mechanism. The widely used data fault tolerance techniques include full copy scheme and erasure code scheme. Full copy scheme copies the data into multiple copies for distributed storage, which reduces the storage efficiency and wastes the storage space. Erasure codes scheme can use the storage space efficiently, but it need store the data encoded, and decode the data when accesses them, which makes the data access efficiency low. Combining the two data fault tolerance mechanisms, on the basis of the Ceph distributed file system, this paper designs a data placement strategy based on the file level. The strategy both provides the full copy scheme and the erasure code scheme, which users can select the appropriate storage scheme based on the file level. The strategy ensures that the important data have high security and can effectively use the storage space.

Key words: object-based file system, Ceph, data fault tolerance mechanism, erasure code, full copy

中图分类号: