]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fix rbd create syntax
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 28 Jan 2013 18:13:56 +0000 (10:13 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 28 Jan 2013 18:13:59 +0000 (10:13 -0800)
--dest-pool does not apply to create. Also remove extraneous
whitespace.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
doc/rbd/rados-rbd-cmds.rst

index 6e28a6ab713b1d56188d3ec04b26bc7cbeb35c97..eec58512edccade3368834758079dd99db5c3a8f 100644 (file)
@@ -17,13 +17,13 @@ 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::
 
-       rbd create {image-name} --size {megabytes} --dest-pool {pool-name}
+       rbd create {image-name} --size {megabytes} --pool {pool-name}
        
 For example, to create a 1GB image named ``foo`` that stores information in a 
 pool named ``swimmingpool``, execute the following::
 
        rbd create foo --size 1024
-       rbd create bar  --size 1024 --pool swimmingpool
+       rbd create bar --size 1024 --pool swimmingpool
 
 .. note:: You must create a pool first before you can specify it as a 
    source. See `Storage Pools`_ for details.
@@ -99,8 +99,7 @@ For example::
 
        rbd rm bar -p swimmingpool
 
 
 
 .. _Storage Pools: ../../rados/operations/pools
-.. _RBD – Manage RADOS Block Device (RBD) Images: ../../man/8/rbd/
\ No newline at end of file
+.. _RBD – Manage RADOS Block Device (RBD) Images: ../../man/8/rbd/