Skip to content

Commit 90130ed

Browse files
storage: add multiple local storages on kvm (#333)
1 parent 07af5fe commit 90130ed

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

source/adminguide/storage.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,30 @@ could provision 1 iSCSI LUN initially and then add a second iSCSI LUN
146146
when the first approaches capacity.
147147

148148

149+
Using Multiple Local Storages (KVM only)
150+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151+
152+
Since CloudStack 4.17.0.0, multiple local storages are supported on KVM hosts.
153+
154+
In order to use multiple local storages, you need to
155+
156+
#. Enable Local Storage For User VMs in the zone setting
157+
158+
#. Create local directories on kvm hosts
159+
160+
#. Edit /etc/cloudstack/agent/agent.properties
161+
162+
- Add extra directories to "local.storage.path"
163+
- Add UUID of directories to "local.storage.uuid" (UUID can be generated by `uuidgen`)
164+
165+
.. parsed-literal::
166+
167+
local.storage.uuid=a43943c1-1759-4073-9db1-bc0ea19203aa,f5b1220b-4446-42dc-a872-cffd281f9f8c
168+
local.storage.path=/var/lib/libvirt/images,/var/lib/libvirt/images2
169+
170+
#. Restart cloudstack-agent service
171+
172+
149173
Storage Tags
150174
~~~~~~~~~~~~
151175

0 commit comments

Comments
 (0)