Skip to content

Commit 5d6ef85

Browse files
Configure Root disk size via Service Offering (apache#162)
1 parent b7e0edd commit 5d6ef85

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

source/adminguide/service_offerings.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ offerings. The compute service offering specifies:
135135

136136
- Guest Networking type (virtual or direct)
137137

138+
- Root Disk size (optional). If not defined by CloudStack administrator,
139+
users can set a custom Root disk size.
140+
138141
- Tags on the root disk
139142

140143
The disk offering specifies:

source/adminguide/storage.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,40 @@ To resize a volume:
617617

618618
#. Click OK.
619619

620+
Root Volume size defined via Service Offering
621+
~~~~~~~~~~~~~~~~
622+
623+
If a Service Offering is created with a root disk size, then resizing the Root volume is possible only by resizing the VMs service offering.
624+
625+
Service offering Root resizing constrains:
626+
627+
#. Users cannot deploy VMs with custom root disk size when using such offerings
628+
629+
#. Users cannot resize the VM root disk size when using such offerings
630+
631+
#. The Root Volume of such VMs can only be resized when changing to another Service Offering with a Root disk size equals or larger than the current one.
632+
633+
#. Users can change the VM offering to a service offering with a Root size of 0GB (default) and then customize the volume size.
634+
635+
The following table shows possible combinations of Service offering supported resizing based on the offering Root disk size:
636+
637+
+---+----------------------------+---------------------------+-------------------------------+
638+
| # | Service Offering Root size | new Service Offering Root | Does support offering resize? |
639+
+---+----------------------------+---------------------------+-------------------------------+
640+
| 1 | 0GB (default) | Any | YES |
641+
+---+----------------------------+---------------------------+-------------------------------+
642+
| 2 | 5GB | 5GB | YES |
643+
+---+----------------------------+---------------------------+-------------------------------+
644+
| 3 | 5GB | 10GB | YES |
645+
+---+----------------------------+---------------------------+-------------------------------+
646+
| 4 | 10GB | 5GB | NO |
647+
+---+----------------------------+---------------------------+-------------------------------+
648+
| 5 | Any | 0GB | YES |
649+
+---+----------------------------+---------------------------+-------------------------------+
650+
651+
.. note::
652+
Shrinking the Root disk is not supported via the service offering resizing workflow. All the combinations above assume a transition to Root disks with size equals or bigger than the original.
653+
Service Offerings with Root size of 0GB do not change the disk size to Zero and indicates that the offering do not enforces a Root disk size.
620654

621655
Reset VM to New Root Disk on Reboot
622656
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)