summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-05-22 18:26:02 +0000
committerJeremy Katz <katzj@redhat.com>2007-05-22 18:26:02 +0000
commit52a40df6959cb0fa4d955daea2cedd958feebf25 (patch)
treec8a79dc4ef939b12108d8f64a20f615c7c85275f
parent75dc025c91689216670fa301971356f29c531982 (diff)
downloadanaconda-52a40df6959cb0fa4d955daea2cedd958feebf25.tar.gz
anaconda-52a40df6959cb0fa4d955daea2cedd958feebf25.tar.xz
anaconda-52a40df6959cb0fa4d955daea2cedd958feebf25.zip
2007-05-22 Jeremy Katz <katzj@redhat.com>
* isys/isys.py (_stopRaid): Fix raidstop. I have no clue how things were working here...
-rw-r--r--ChangeLog3
-rw-r--r--isys/isys.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c7177c1a..7d7435cbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2007-05-22 Jeremy Katz <katzj@redhat.com>
+ * isys/isys.py (_stopRaid): Fix raidstop. I have no clue how
+ things were working here...
+
* upgrade.py: More blacklist
* scripts/getlangnames.py: Fix for unicode shenanigans
diff --git a/isys/isys.py b/isys/isys.py
index 9a76d58a2..556604e4e 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -130,15 +130,16 @@ def _getRaidInfo(drive):
return info
def _stopRaid(mdDevice):
- log.info("mdadm -A --stop %s" % (mdDevice,))
+ log.info("mdadm --stop %s" % (mdDevice,))
try:
- _mdadm("-A", "--stop", mdDevice)
+ _mdadm("--stop", mdDevice)
except MdadmError:
ei = sys.exc_info()
ei[1].name = mdDevice
raise ei[0], ei[1], ei[2]
def raidstop(mdDevice):
+ log.info("stopping raid device %s" %(mdDevice,))
if raidCount.has_key (mdDevice):
if raidCount[mdDevice] > 1:
raidCount[mdDevice] = raidCount[mdDevice] - 1
@@ -164,6 +165,7 @@ def _startRaid(mdDevice, mdMinor, uuid):
raise ei[0], ei[1], ei[2]
def raidstart(mdDevice, aMember):
+ log.info("starting raid device %s" %(mdDevice,))
if raidCount.has_key(mdDevice) and raidCount[mdDevice]:
raidCount[mdDevice] = raidCount[mdDevice] + 1
return