]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow the lvm backed drivers to use mirrrors
authorVishvananda Ishaya <vishvananda@gmail.com>
Mon, 17 Dec 2012 22:38:53 +0000 (14:38 -0800)
committerVishvananda Ishaya <vishvananda@gmail.com>
Tue, 18 Dec 2012 00:11:20 +0000 (16:11 -0800)
commitf61e854460c5ad8129b2230686465884eb6b8852
tree2a8045c71c909d2e9a3f22b36633170b96d55639
parent792d3a166b7ac8478e21bcd255ac53f7bdec719e
Allow the lvm backed drivers to use mirrrors

Adds a new configuration option called lvm_mirrors. If this is
set to a value > 0, it will create the specified number of mirrors
when creating volumes. Note that lvm_mirrors + 2 pvs are required
in the volume group for lvm mirroring to work properly.

Change-Id: I7e28d11c48cdbb99e17b0930b720fbd805bf9931
cinder/volume/driver.py
etc/cinder/cinder.conf.sample