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

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.

主站蜘蛛池模板: 肇源县| 城固县| 台东市| 利川市| 滨州市| 唐河县| 宁国市| 西乌| 永新县| 察哈| 美姑县| 友谊县| 米易县| 东乡县| 盐津县| 尼勒克县| 临澧县| 南阳市| 桂阳县| 吉木萨尔县| 祁阳县| 广州市| 重庆市| 桂阳县| 宁都县| 房山区| 香格里拉县| 富源县| 秦皇岛市| 陕西省| 淄博市| 九龙城区| 黎城县| 伊金霍洛旗| 敦化市| 宜都市| 盐亭县| 毕节市| 磴口县| 建阳市| 麻城市|