From: Yehua Date: Wed, 23 Dec 2015 05:08:44 +0000 (+0800) Subject: doc:adding "--allow-shrink" in decreasing the size of the rbd block to distinguish... X-Git-Tag: v10.0.3~174^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=777564c8708d4c2799e7f9d60127f5485cd9d8d3;p=ceph.git doc:adding "--allow-shrink" in decreasing the size of the rbd block to distinguish from the increasing option In the original file, the increasing and decreaing of the size of the rbd block shares the same option: "rbd resize --size 2048 foo". However, it is not proper, as the "--allow-shrink" needs to be added while decreasing the size of the rbd block. As a result, it is necessary to make a distinguish between these two options as follows: "rbd resize --size 2048 foo (to increase)" "rbd resize --size 2048 foo --allow-shrink (to decrease)" Signed-off-by: Yehua --- diff --git a/doc/rbd/rados-rbd-cmds.rst b/doc/rbd/rados-rbd-cmds.rst index 37a70a3d4ad..a8e2302d23e 100644 --- a/doc/rbd/rados-rbd-cmds.rst +++ b/doc/rbd/rados-rbd-cmds.rst @@ -85,7 +85,8 @@ a maximum capacity that you set with the ``--size`` option. If you want to increase (or decrease) the maximum size of a Ceph Block Device image, execute the following:: - rbd resize --size 2048 foo + rbd resize --size 2048 foo (to increase) + rbd resize --size 2048 foo --allow-shrink (to decrease) Removing a Block Device Image