Skip to content

Commit 8ea42a5

Browse files
committed
Resize volume: add pool capacity disablethreshold for resize and allow volume auto migration
1 parent 6cc725f commit 8ea42a5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

source/adminguide/storage.rst

+10-1
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,13 @@ Before you try to resize a volume, consider the following:
896896
Therefore, resize any partitions or file systems before you shrink a
897897
data disk so that all the data is moved off from that disk.
898898

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

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

913920
|resize-volume.png|
914921

915-
#. If you select Custom Disk, specify a custom size.
922+
#. Specify a custom size.
916923

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

931+
#. Check if you wish to auto migrate volume to another storage pool if required.
932+
924933
#. Click OK.
925934

926935
Root Volume size defined via Service Offering

0 commit comments

Comments
 (0)