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

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.

主站蜘蛛池模板: 元氏县| 廊坊市| 登封市| 黑水县| 景洪市| 岑巩县| 遵义市| 文山县| 灵川县| 江门市| 上杭县| 汾西县| 肃南| 易门县| 朝阳县| 昌平区| 宁明县| 黑山县| 三都| 遂川县| 泾阳县| 湖南省| 托克托县| 汶川县| 嘉义市| 珲春市| 金门县| 蕲春县| 兴义市| 荆门市| 钟山县| 临沧市| 江口县| 富蕴县| 铁岭市| 塘沽区| 吉木萨尔县| 菏泽市| 保康县| 宁津县| 绥芬河市|