From: Frank Yu Date: Wed, 21 Jan 2015 08:47:41 +0000 (+0800) Subject: Doc: Fix the typo in doc/rbd/rados-rbd-cmds.rst X-Git-Tag: v0.93~233^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b9be97f7156475dd878f5799d41db78341936598;p=ceph.git Doc: Fix the typo in doc/rbd/rados-rbd-cmds.rst Fix the typo in doc/rbd/rados-rbd-cmds.rst, also add explanation/example when creating an image without specifying pool. Signed-off-by: Frank Yu --- diff --git a/doc/rbd/rados-rbd-cmds.rst b/doc/rbd/rados-rbd-cmds.rst index 8212df0c2416..32c65092890a 100644 --- a/doc/rbd/rados-rbd-cmds.rst +++ b/doc/rbd/rados-rbd-cmds.rst @@ -23,12 +23,17 @@ the following:: rbd create {image-name} --size {megabytes} --pool {pool-name} -For example, to create a 1GB image named ``foo`` that stores information in a +For example, to create a 1GB image named ``bar`` that stores information in a pool named ``swimmingpool``, execute the following:: - rbd create foo --size 1024 rbd create bar --size 1024 --pool swimmingpool +If you don't specify pool when creating an image, it will be stored in the +default pool ``rbd``. For example, to create a 1GB image named ``foo`` stored in +the default pool ``rbd``, execute the following:: + + rbd create foo --size 1024 + .. note:: You must create a pool first before you can specify it as a source. See `Storage Pools`_ for details.