<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>95594</bug_id>
          
          <creation_ts>2005-06-09 11:55 0000</creation_ts>
          <short_desc>baselayout: raid-stop.sh for /lib/rcscripts/addons/</short_desc>
          <delta_ts>2005-06-09 18:35:02 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>baselayout</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>public@mjh.name</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>public@mjh.name</who>
            <bug_when>2005-06-09 11:55:23 0000</bug_when>
            <thetext>Hello,

as I have software-raid arrays using LVM LVs as source devices (which is useful 
if you want e. g. only to mirror your very important data), raid arrays need to 
be shut down to permit LVM to shut down completely. Therefore I need a /lib/
rcscripts/addons/raid-stop.sh to shut raid arrays down. 
Attached is an extremely simple proposal which calls mdadm -Ss (Stop devices 
scanning config files for information about what to stop) if mdadm is present. 
The part for raidtools is missing as I don&apos;t use raidtools. 

Regards,
Milan

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>public@mjh.name</who>
            <bug_when>2005-06-09 11:57:36 0000</bug_when>
            <thetext>Created an attachment (id=60937)
raid-stop.sh containung shutdown command for mdadm

A very simple /lib/rcscripts/addons/raid-stop.sh calling mdadm -Ss. 
raidtools-part is not present. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-06-09 18:35:02 0000</bug_when>
            <thetext>added `raidstop` code and added to cvs, thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>60937</attachid>
            <date>2005-06-09 11:57 0000</date>
            <desc>raid-stop.sh containung shutdown command for mdadm</desc>
            <filename>raid-stop.sh</filename>
            <type>text/plain</type>
            <data encoding="base64">IyAvbGliL3Jjc2NyaXB0cy9hZGRvbnMvcmFpZC1zdG9wLnNoOiAgU3RvcCByYWlkIHZvbHVtZXMg
YXQgc2h1dGRvd24KIyAkSGVhZGVyOiAkCgpbWyAtZiAvcHJvYy9tZHN0YXQgXV0gfHwgZXhpdCAw
CgojIFN0b3Agc29mdHdhcmUgcmFpZCB3aXRoIHJhaWR0b29scyAob2xkIHNjaG9vbCkKI2lmIFtb
IC14IC9zYmluL3JhaWRzdGFydCAmJiAtZiAvZXRjL3JhaWR0YWIgXV0gOyB0aGVuCiMJVE9ETwoj
ZmkKCiMgU3RvcCBzb2Z0d2FyZSByYWlkIHdpdGggbWRhZG0gKG5ldyBzY2hvb2wpCmlmIFtbIC14
IC9zYmluL21kYWRtICYmIC1mIC9ldGMvbWRhZG0uY29uZiBdXSA7IHRoZW4KCWViZWdpbiAiU2h1
dHRpbmcgZG93biBSQUlEIGRldmljZXMgKG1kYWRtKSIKCW91dHB1dD0kKG1kYWRtIC1TcyAyPiYx
KQoJcmV0PSQ/CglbWyAke3JldH0gLW5lIDAgXV0gJiYgZWNobyAiJHtvdXRwdXR9IgoJZWVuZCAk
e3JldH0KZmkKCiMgdmltOnRzPTQK
</data>        

          </attachment>
    </bug>

</bugzilla>