|
...
|
...
|
@@ -340,14 +340,14 @@ function create_cinder_cache_dir() {
|
|
340
|
340
|
}
|
|
341
|
341
|
|
|
342
|
342
|
create_cinder_volume_group() {
|
|
343
|
|
- # According to the CINDER_MULTI_LVM_BACKEND value, configure one or two default volumes
|
|
|
343
|
+ # According to the ``CINDER_MULTI_LVM_BACKEND`` value, configure one or two default volumes
|
|
344
|
344
|
# group called ``stack-volumes`` (and ``stack-volumes2``) for the volume
|
|
345
|
345
|
# service if it (they) does (do) not yet exist. If you don't wish to use a
|
|
346
|
346
|
# file backed volume group, create your own volume group called ``stack-volumes``
|
|
347
|
347
|
# and ``stack-volumes2`` before invoking ``stack.sh``.
|
|
348
|
348
|
#
|
|
349
|
|
- # By default, the two backing files are 5G in size, and are stored in
|
|
350
|
|
- # ``/opt/stack/data``.
|
|
|
349
|
+ # The two backing files are ``VOLUME_BACKING_FILE_SIZE`` in size, and they are stored in
|
|
|
350
|
+ # the ``DATA_DIR``.
|
|
351
|
351
|
|
|
352
|
352
|
if ! sudo vgs $VOLUME_GROUP; then
|
|
353
|
353
|
if [ -z "$VOLUME_BACKING_DEVICE" ]; then
|