Skip to content

Commit ef99a5d

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

source/adminguide/storage.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,12 @@ 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. These two zone settings are configurable by ROOT admin.
904+
899905
To resize a volume:
900906

901907
#. Log in to the CloudStack UI as a user or admin.
@@ -912,7 +918,7 @@ To resize a volume:
912918

913919
|resize-volume.png|
914920

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

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

930+
#. Check if you wish to auto migrate volume to another storage pool if required.
931+
924932
#. Click OK.
925933

926934
Root Volume size defined via Service Offering

0 commit comments

Comments
 (0)