summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-08-07 21:42:37 +0000
committerMatt Wilson <msw@redhat.com>2001-08-07 21:42:37 +0000
commit2b251841a6b8781df8af19c44a2c8c37ba9c2c01 (patch)
tree870d6aa077570c8e73e7d8bd8f4077bc9d7d6379 /fsset.py
parent51854ab7d8235c036444b35334e5e18ab8384385 (diff)
downloadanaconda-2b251841a6b8781df8af19c44a2c8c37ba9c2c01.tar.gz
anaconda-2b251841a6b8781df8af19c44a2c8c37ba9c2c01.tar.xz
anaconda-2b251841a6b8781df8af19c44a2c8c37ba9c2c01.zip
if we fail to mount ext2 filesystems on md devices, give ext3 a try. (#51145)
register the raid devices we mkraid with the partitioning layer hup the raid devices and start the existing ones so we can pull labels off them in case we have a label conflict(#51148)
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 987b06afd..73bf26c50 100644
--- a/fsset.py
+++ b/fsset.py
@@ -75,8 +75,10 @@ class LabelFactory:
if self.labels == None:
self.labels = {}
- diskset = partitioning.DiskSet()
+ diskset = partitioning.DiskSet()
diskset.openDevices()
+ diskset.stopAllRaid()
+ diskset.startAllRaid()
labels = diskset.getLabels()
del diskset
self.reserveLabels(labels)
@@ -1113,6 +1115,7 @@ class RAIDDevice(Device):
( 'mkraid', '--really-force',
'--configfile', raidtab, node ),
stderr = "/dev/tty5", stdout = "/dev/tty5")
+ partitioning.register_raid_device(self.device)
self.isSetup = 1
return node