官术网_书友最值得收藏!

  • Ceph Cookbook(Second Edition)
  • Vikhyat Umrao Michael Hackett Karan Singh
  • 259字
  • 2021-07-02 23:19:10

Working with RBD clones

Ceph supports a very nice feature for creating Copy-On-Write (COW) clones from RBD snapshots. This is also known as snapshot layering in Ceph. Layering allows clients to create multiple instant clones of Ceph RBD. This feature is extremely useful for cloud and virtualization platforms such as OpenStack, CloudStack, Qemu/KVM, and so on. These platforms usually protect Ceph RBD images containing an OS/VM image in the form of a snapshot. Later, this snapshot is cloned multiple times to spawn new virtual machines / instances. Snapshots are read-only, but COW clones are fully writable; this feature of Ceph provides a greater level of flexibility and is extremely useful in cloud platforms. In the later chapters, we will discover more on COW clones for spawning OpenStack instances:

Every cloned image (child image) stores references of its parent snapshot to read image data. Hence, the parent snapshot should be protected before it can be used for cloning. At the time of data writing on the COW cloned image, it stores new data references to itself. COW cloned images are as good as RBD. They are quite flexible like RBD, which means that they are writable, resizable, and support snapshots and further cloning.

In Ceph RBD, images are of two types: format-1 and format-2. The RBD snapshot feature is available on both types, that is, in format-1 as well as in format-2 RBD images. However, the layering feature (the COW cloning feature) is available only for the RBD image with format-2. The default RBD image format in Jewel is format-2.

主站蜘蛛池模板: 郓城县| 城口县| 贺兰县| 东丽区| 淮安市| 烟台市| 盐亭县| 砚山县| 米泉市| 伊吾县| 奇台县| 岫岩| 井陉县| 报价| 乐都县| 都安| 奇台县| 乐都县| 年辖:市辖区| 应用必备| 和政县| 晋宁县| 黄骅市| 天等县| 集安市| 喀什市| 宁陵县| 疏附县| 固镇县| 贵州省| 宝清县| 会理县| 定襄县| 上蔡县| 宜州市| 西盟| 明光市| 阿图什市| 湖口县| 南雄市| 库尔勒市|