Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95594 - baselayout: raid-stop.sh for /lib/rcscripts/addons/
Summary: baselayout: raid-stop.sh for /lib/rcscripts/addons/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 11:55 UTC by Milan Holzäpfel
Modified: 2005-06-09 18:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
raid-stop.sh containung shutdown command for mdadm (raid-stop.sh,477 bytes, text/plain)
2005-06-09 11:57 UTC, Milan Holzäpfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Holzäpfel 2005-06-09 11:55:23 UTC
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't use raidtools. 

Regards,
Milan

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Milan Holzäpfel 2005-06-09 11:57:36 UTC
Created attachment 60937 [details]
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.
Comment 2 SpanKY gentoo-dev 2005-06-09 18:35:02 UTC
added `raidstop` code and added to cvs, thanks