Bug 2005267 - [Doc][RBD][block_device_guide]:Decreasing block image size requires --allow-shrink flag
Summary: [Doc][RBD][block_device_guide]:Decreasing block image size requires --allow-s...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: Backlog
Assignee: Anjana Suparna Sriram
QA Contact: Veera Raghava Reddy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-17 09:43 UTC by Chaithra
Modified: 2023-07-25 18:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-1814 0 None None None 2021-09-20 11:50:08 UTC

Description Chaithra 2021-09-17 09:43:12 UTC
Describe the issue:

Decreasing block image size requires --allow-shrink flag

2.7. Resizing a block device image:

	Given command can only be used to increase the image size
        rbd resize --image IMAGE_NAME --size SIZE
        rbd resize --image POOL_NAME/IMAGE_NAME --size SIZE

        #rbd create image1 --size 1024 --pool pool1						
	#rbd resize --image pool1/image1 --size 512
         rbd: shrinking an image is only allowed with the --allow-shrink flag


Note You need to log in before you can comment on or make changes to this bug.