summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-11 17:16:39 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-11 21:32:34 -0500
commit2e11711f0e8af8c4b4098d8490751210e64eb6d4 (patch)
tree9c65d4bdc5467b9bc69dd22ff04a217c3fa7cfa3 /storage
parentf54d2b88ae7fbfd0d16341b09037da81684abdc3 (diff)
downloadanaconda-2e11711f0e8af8c4b4098d8490751210e64eb6d4.tar.gz
anaconda-2e11711f0e8af8c4b4098d8490751210e64eb6d4.tar.xz
anaconda-2e11711f0e8af8c4b4098d8490751210e64eb6d4.zip
Try again to set up LVs when we've just added a new PV to the VG.
If we do find all of the PVs this will cause the LVs to be activated, which will allow us to probe them.
Diffstat (limited to 'storage')
-rw-r--r--storage/devicetree.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py
index e974717e8..976d5d4e5 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1174,6 +1174,11 @@ class DeviceTree(object):
vg_device = self.getDeviceByName(vg_name)
if vg_device:
vg_device._addDevice(device)
+ for lv in vg_device.lvs:
+ try:
+ lv.setup()
+ except DeviceError as e:
+ log.info("setup of %s failed: %s" % (lv.name, e))
else:
try:
vg_uuid = udev_device_get_vg_uuid(info)