]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
:doc: Title change for clarity. Initial formatting cleanup.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 18 Sep 2012 18:41:32 +0000 (11:41 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 18 Sep 2012 18:41:32 +0000 (11:41 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rbd/rados-rbd-cmds.rst

index 95aee4c0c68c072016d07e868c3116751465a387..e81ba4a735205efe1597e526b5e032763b3622df 100644 (file)
@@ -1,6 +1,7 @@
-====================
- RADOS RBD Commands
-====================
+==============
+ RBD Commands
+==============
+
 The ``rbd`` command enables you to create, list, introspect and remove block
 device images. You can also use it to clone images, create snapshots,
 rollback an image to a snapshot, view a snapshot, etc. For details on using
@@ -10,7 +11,8 @@ details.
 .. important:: To use RBD commands, you must have a running Ceph cluster.
 
 Creating a Block Device Image
------------------------------
+=============================
+
 Before you can add a block device to a Ceph client, you must create an image for
 it in the OSD cluster first. To create a block device image, execute the 
 following::
@@ -27,7 +29,8 @@ pool named ``swimmingpool``, execute the following::
    source. See `Storage Pools`_ for details.
 
 Listing Block Device Images
----------------------------
+===========================
+
 To list block devices in the ``rbd`` pool, execute the following:: 
 
        rbd ls
@@ -42,7 +45,8 @@ For example::
        rbd ls swimmingpool
        
 Retrieving Image Information
-----------------------------
+============================
+
 To retrieve information from a particular image, execute the following,
 but replace ``{image-name}`` with the name for the image:: 
 
@@ -63,7 +67,8 @@ For example::
        rbd --image bar -p swimmingpool info    
 
 Resizing a Block Device Image
------------------------------
+=============================
+
 RBD images are thin provisioned. They don't actually use any physical storage 
 until you begin saving data to them. However, they do have a maximum capacity 
 that you set with the ``--size`` option. If you want to increase (or decrease)
@@ -73,7 +78,8 @@ the maximum size of a RADOS block device image, execute the following::
 
 
 Removing a Block Device Image
------------------------------
+=============================
+
 To remove a block device, execute the following, but replace ``{image-name}``
 with the name of the image you want to remove::