Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Java (http://www.linux-archive.org/debian-java/)
-   -   vgreduce now activates some lvs, which I do not understand. (http://www.linux-archive.org/debian-java/527107-vgreduce-now-activates-some-lvs-i-do-not-understand.html)

David Lehman 05-16-2011 10:36 PM

vgreduce now activates some lvs, which I do not understand.
 
---
pyanaconda/storage/devices.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index a90df06..e4dae0a 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -2188,6 +2188,7 @@ class LVMVolumeGroupDevice(DMDevice):
""" Destroy the device. """
log_method_call(self, self.name, status=self.status)
lvm.vgreduce(self.name, [], rm=True)
+ lvm.vgdeactivate(self.name)
lvm.vgremove(self.name)

def reduce(self, pv_list):
--
1.7.3.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 04:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.