From: Josh Durgin Date: Mon, 28 Jan 2013 18:13:56 +0000 (-0800) Subject: doc: fix rbd create syntax X-Git-Tag: v0.57~101 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3a08942099a24edab5f20afaa290c5c3de991444;p=ceph.git doc: fix rbd create syntax --dest-pool does not apply to create. Also remove extraneous whitespace. Signed-off-by: Josh Durgin --- diff --git a/doc/rbd/rados-rbd-cmds.rst b/doc/rbd/rados-rbd-cmds.rst index 6e28a6ab713b..eec58512edcc 100644 --- a/doc/rbd/rados-rbd-cmds.rst +++ b/doc/rbd/rados-rbd-cmds.rst @@ -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/