]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc:adding "--allow-shrink" in decreasing the size of the rbd block to distinguish... 7020/head
authorYehua <chen.yehua@h3c.com>
Wed, 23 Dec 2015 05:08:44 +0000 (13:08 +0800)
committerYehua <chen.yehua@h3c.com>
Wed, 23 Dec 2015 05:13:04 +0000 (13:13 +0800)
commit777564c8708d4c2799e7f9d60127f5485cd9d8d3
tree524b93b763c7b8b7c8d0681fea15b528b60b19da
parentf14fe56d0c4163996670c3a3b22d7d5abb701808
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 <chen.yehua@h3c.com>
doc/rbd/rados-rbd-cmds.rst