diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-05-22 18:26:02 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-05-22 18:26:02 +0000 |
commit | 52a40df6959cb0fa4d955daea2cedd958feebf25 (patch) | |
tree | c8a79dc4ef939b12108d8f64a20f615c7c85275f | |
parent | 75dc025c91689216670fa301971356f29c531982 (diff) | |
download | anaconda-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-- | ChangeLog | 3 | ||||
-rw-r--r-- | isys/isys.py | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -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 |