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

Resize volume: add pool capacity disablethreshold for resize and allow volume auto migration #443

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified source/_static/images/resize-volume.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion source/adminguide/storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,13 @@ Before you try to resize a volume, consider the following:
Therefore, resize any partitions or file systems before you shrink a
data disk so that all the data is moved off from that disk.

- In Apache CloudStack 4.20 and before, resizing volume will fail if
the current storage pool does not have enough capacity for new volume size.
Since Apache CloudStack 4.21, it becomes possible if zone setting
volume.resize.allowed.beyond.allocation is set to true, and the new volume size
does not cross the resize threshold (pool.storage.allocated.resize.capacity.disablethreshold) of storage pool.
These two zone settings are configurable by ROOT admin.

To resize a volume:

#. Log in to the CloudStack UI as a user or admin.
Expand All @@ -912,7 +919,7 @@ To resize a volume:

|resize-volume.png|

#. If you select Custom Disk, specify a custom size.
#. Specify a custom size.

#. Click Shrink OK to confirm that you are reducing the size of a
volume.
Expand All @@ -921,6 +928,8 @@ To resize a volume:
which might lead to the risk of data loss. You must sign off that
you know what you are doing.

#. Check if you wish to auto migrate volume to another storage pool if required.

#. Click OK.

Root Volume size defined via Service Offering
Expand Down
Loading