Skip to content

Commit 499f3a9

Browse files
Resize volume: add pool capacity disablethreshold for resize and allow volume auto migration (#443)
1 parent 393997a commit 499f3a9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
29.1 KB
Loading

source/adminguide/storage.rst

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

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

902909
#. Log in to the CloudStack UI as a user or admin.
@@ -913,7 +920,7 @@ To resize a volume:
913920

914921
|resize-volume.png|
915922

916-
#. If you select Custom Disk, specify a custom size.
923+
#. Specify a custom size.
917924

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

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

927936
Root Volume size defined via Service Offering

0 commit comments

Comments
 (0)