]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Doc: Fix the typo in doc/rbd/rados-rbd-cmds.rst 3433/head
authorFrank Yu <flyxiaoyu@gmail.com>
Wed, 21 Jan 2015 08:47:41 +0000 (16:47 +0800)
committerFrank Yu <flyxiaoyu@gmail.com>
Wed, 21 Jan 2015 08:47:41 +0000 (16:47 +0800)
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 <flyxiaoyu@gmail.com>
doc/rbd/rados-rbd-cmds.rst

index 8212df0c24164950c38f1eb3060e0d9b182ad994..32c65092890ab475e290a1263653ed318a57423b 100644 (file)
@@ -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.