2012-05-31 22:35:33 +00:00
|
|
|
===============
|
|
|
|
Block Devices
|
|
|
|
===============
|
|
|
|
|
|
|
|
A block is a sequence of bytes (for example, a 512-byte block of data).
|
|
|
|
Block-based storage interfaces are the most common way to store data with
|
|
|
|
rotating media such as hard disks, CDs, floppy disks, and even traditional
|
|
|
|
9-track tape. The ubiquity of block device interfaces makes a virtual block
|
|
|
|
device an ideal candidate to interact with a mass data storage system like Ceph.
|
|
|
|
|
|
|
|
Ceph's RADOS Block Devices (RBD) interact with RADOS OSDs using the
|
|
|
|
``librados`` and ``librbd`` libraries. RBDs are thin-provisioned, resizable
|
|
|
|
and store data striped over multiple OSDs in a Ceph cluster. RBDs inherit
|
|
|
|
``librados`` capabilities such as snapshotting and cloning. Ceph's RBDs deliver
|
|
|
|
high performance with infinite scalability to kernel objects, kernel virtual
|
|
|
|
machines and cloud-based computing systems like OpenStack and CloudStack.
|
|
|
|
|
|
|
|
The ``librbd`` library converts data blocks into objects for storage in
|
|
|
|
RADOS OSD clusters--the same storage system for ``librados`` object stores and
|
|
|
|
the Ceph FS filesystem. You can use the same cluster to operate object stores,
|
|
|
|
the Ceph FS filesystem, and RADOS block devices simultaneously.
|
|
|
|
|
2012-06-19 17:10:51 +00:00
|
|
|
.. important:: To use RBD, you must have a running Ceph cluster.
|
|
|
|
|
2012-05-31 22:35:33 +00:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
RADOS Commands <rados-rbd-cmds>
|
|
|
|
Kernel Objects <rbd-ko>
|
2012-06-19 17:15:35 +00:00
|
|
|
RBD Snapshots <rbd-snapshot>
|
2012-06-14 21:18:53 +00:00
|
|
|
QEMU and RBD <qemu-rbd>
|
2012-06-18 20:22:18 +00:00
|
|
|
libvirt <libvirt>
|
2012-06-18 21:29:04 +00:00
|
|
|
RBD and OpenStack <rbd-openstack>
|
2012-08-08 21:51:10 +00:00
|
|
|
RBD and CloudStack <rbd-cloudstack>
|
2012-05-31 22:35:33 +00:00
|
|
|
|
|
|
|
|
2012-06-19 17:15:35 +00:00
|
|
|
|