From fe7cbc686c5d52eb1f7ffd20485c977142ddaae3 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Mon, 30 Mar 2015 14:11:28 +0000 Subject: Filter in the device and not in the partition --- openstack/usr/share/openstack/openstack-cinder-configure-backends | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/usr/share/openstack/openstack-cinder-configure-backends b/openstack/usr/share/openstack/openstack-cinder-configure-backends index 9b805d46..1f2c3a2a 100644 --- a/openstack/usr/share/openstack/openstack-cinder-configure-backends +++ b/openstack/usr/share/openstack/openstack-cinder-configure-backends @@ -19,7 +19,7 @@ set -xe # Reconfigure LVM to scan only the devices that contain the # cinder-volume volume group -sed -i 's|# filter = \[ \"a\/\.\*\/\" \]|filter = \[ \"a\/sdb1\/\", \"r\/\.\*\/\" \]|' \ +sed -i 's|# filter = \[ \"a\/\.\*\/\" \]|filter = \[ \"a\/sdb\/\", \"r\/\.\*\/\" \]|' \ /etc/lvm/lvm.conf # Create the cinder LVM type and set a volume backend name -- cgit v1.2.1