Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc:adding "--allow-shrink" in decreasing the size of the rbd block to distinguish from the increasing option #7020

Merged
merged 1 commit into from Dec 23, 2015

Conversation

chenyehua11692
Copy link
Contributor

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 chen.yehua@h3c.com

…o 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>
jdurgin added a commit that referenced this pull request Dec 23, 2015
doc:adding "--allow-shrink" in decreasing the size of the rbd block to distinguish from the increasing option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit 9bb9b85 into ceph:master Dec 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants