summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-10 18:44:54 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-10 18:44:54 +0000
commit077cf66e0e550fd7b2c30b48459c55ecc892531d (patch)
tree5d9894fe6eab2c5fb2c04295937060b89a5d2281 /fsset.py
parent484a766644bda64637c66f604b333e7a248ea225 (diff)
downloadanaconda-077cf66e0e550fd7b2c30b48459c55ecc892531d.tar.gz
anaconda-077cf66e0e550fd7b2c30b48459c55ecc892531d.tar.xz
anaconda-077cf66e0e550fd7b2c30b48459c55ecc892531d.zip
a little more towards working lvm rescue mode. also, use --dangerous-no-resync when creating raid arrays per arjan's suggestion (#66435)
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index 0448eb7df..ad71eeaaf 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1484,7 +1484,8 @@ class RAIDDevice(Device):
devPrefix=devPrefix)
iutil.execWithRedirect ("/usr/sbin/mkraid",
('mkraid', '--really-force',
- '--configfile', raidtab, node),
+ '--configfile', '--dangerous-no-resync',
+ raidtab, node),
stderr="/dev/tty5", stdout="/dev/tty5")
raid.register_raid_device(self.device, self.members[:],
self.level, self.numDisks)
@@ -1510,6 +1511,7 @@ class VolumeGroupDevice(Device):
self.isSetup = existing
self.name = name
self.device = name
+ self.isSetup = existing
# these are attributes we might want to expose. or maybe not
# self.physicalextentsize = 4 * 1024 * 1024
@@ -1565,6 +1567,7 @@ class LogicalVolumeDevice(Device):
self.size = size
self.name = vgname
self.isSetup = 0
+ self.isSetup = existing
# these are attributes we might want to expose. or maybe not.
# self.chunksize