2013-05-31 03:26:03 +00:00
|
|
|
===================
|
|
|
|
Ceph Block Device
|
|
|
|
===================
|
2012-05-31 22:35:33 +00:00
|
|
|
|
2013-06-14 23:58:29 +00:00
|
|
|
.. index:: Ceph Block Device; introduction
|
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
A block is a sequence of bytes (often 512).
|
|
|
|
Block-based storage interfaces are a mature and common way to store data on
|
|
|
|
media including HDDs, SSDs, CDs, floppy disks, and even tape.
|
|
|
|
The ubiquity of block device interfaces is a perfect fit for interacting
|
|
|
|
with mass data storage including Ceph.
|
|
|
|
|
|
|
|
Ceph block devices are thin-provisioned, resizable, and store data striped over
|
|
|
|
multiple OSDs. Ceph block devices leverage
|
2012-11-01 22:30:39 +00:00
|
|
|
:abbr:`RADOS (Reliable Autonomic Distributed Object Store)` capabilities
|
2020-10-02 04:09:56 +00:00
|
|
|
including snapshotting, replication and strong consistency. Ceph block
|
|
|
|
storage clients communicate with Ceph clusters through kernel modules or
|
|
|
|
the ``librbd`` library.
|
2012-05-31 22:35:33 +00:00
|
|
|
|
2020-04-09 13:25:39 +00:00
|
|
|
.. ditaa::
|
|
|
|
|
|
|
|
+------------------------+ +------------------------+
|
2012-11-01 22:30:39 +00:00
|
|
|
| Kernel Module | | librbd |
|
|
|
|
+------------------------+-+------------------------+
|
|
|
|
| RADOS Protocol |
|
|
|
|
+------------------------+-+------------------------+
|
|
|
|
| OSDs | | Monitors |
|
|
|
|
+------------------------+ +------------------------+
|
|
|
|
|
2017-07-06 17:28:06 +00:00
|
|
|
.. note:: Kernel modules can use Linux page caching. For ``librbd``-based
|
2012-11-01 22:30:39 +00:00
|
|
|
applications, Ceph supports `RBD Caching`_.
|
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
Ceph's block devices deliver high performance with vast scalability to
|
2016-04-16 03:42:19 +00:00
|
|
|
`kernel modules`_, or to :abbr:`KVMs (kernel virtual machines)` such as `QEMU`_, and
|
2012-11-01 22:30:39 +00:00
|
|
|
cloud-based computing systems like `OpenStack`_ and `CloudStack`_ that rely on
|
2016-04-16 03:42:19 +00:00
|
|
|
libvirt and QEMU to integrate with Ceph block devices. You can use the same cluster
|
2018-07-30 05:08:00 +00:00
|
|
|
to operate the :ref:`Ceph RADOS Gateway <object-gateway>`, the
|
2019-09-09 19:36:04 +00:00
|
|
|
:ref:`Ceph File System <ceph-file-system>`, and Ceph block devices simultaneously.
|
2012-05-31 22:35:33 +00:00
|
|
|
|
2017-07-06 17:28:06 +00:00
|
|
|
.. important:: To use Ceph Block Devices, you must have access to a running
|
2013-06-14 23:58:29 +00:00
|
|
|
Ceph cluster.
|
2012-06-19 17:10:51 +00:00
|
|
|
|
2012-05-31 22:35:33 +00:00
|
|
|
.. toctree::
|
2019-07-19 13:44:44 +00:00
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
Basic Commands <rados-rbd-cmds>
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
Operations <rbd-operations>
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
Integrations <rbd-integrations>
|
2017-08-08 15:53:42 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
Manpages <man/index>
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
APIs <api/index>
|
|
|
|
|
2018-07-30 05:08:00 +00:00
|
|
|
.. _RBD Caching: ./rbd-config-ref/
|
|
|
|
.. _kernel modules: ./rbd-ko/
|
|
|
|
.. _QEMU: ./qemu-rbd/
|
|
|
|
.. _OpenStack: ./rbd-openstack
|
|
|
|
.. _CloudStack: ./rbd-cloudstack
|