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.
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.
added `raidstop` code and added to cvs, thanks