[config-ref] Add caution note about auto reactivation volumes for LVM driver

Add a note to prevent configuration conflict in lvm.conf about
auto_activation_volumes_list. If this option is defined without cinder volume
group into the list, then cinder volumes can't be automatically
reactivated after volume extension.
This configuration issue doesn't involve volumes without linked snapshots or
thinly provisioned volumes.

Change-Id: I29165468b7e52ce6296c2d200f132213fad69e00
Closes-Bug: #1479208
This commit is contained in:
Flavien Hardy 2016-08-26 10:16:56 +02:00
parent bbc590888d
commit 32772164ea

View File

@ -23,3 +23,21 @@ Use the following options to configure for the iSER transport:
iscsi_protocol = iser
.. include:: ../../tables/cinder-lvm.rst
.. caution::
When extending an existing volume which has a linked snapshot, the related
logical volume is deactivated. This logical volume is automatically
reactivated unless ``auto_activation_volume_list`` is defined in LVM
configuration file ``lvm.conf``. See the ``lvm.conf`` file for more
information.
If auto activated volumes are restricted, then include the cinder volume
group into this list:
.. code-block:: ini
auto_activation_volume_list = [ "existingVG", "cinder-volumes" ]
This note does not apply for thinly provisioned volumes
because they do not need to be deactivated.