forked from pool/mdadm
This commit is contained in:
parent
cf70caa120
commit
2f7c55a8d9
4
boot.md
4
boot.md
@ -124,6 +124,8 @@ case "$1" in
|
|||||||
rc_status -u
|
rc_status -u
|
||||||
else
|
else
|
||||||
$mdadm_BIN -A -s -c $mdadm_CONFIG
|
$mdadm_BIN -A -s -c $mdadm_CONFIG
|
||||||
|
# a status of 2 is not an error
|
||||||
|
test $? -eq 0 -o $? -eq 2
|
||||||
rc_status -v
|
rc_status -v
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -146,6 +148,8 @@ case "$1" in
|
|||||||
chmod 0600 /tmp/mdadm.conf
|
chmod 0600 /tmp/mdadm.conf
|
||||||
if test -s /tmp/mdadm.conf; then
|
if test -s /tmp/mdadm.conf; then
|
||||||
mdadm --assemble --scan --config=/tmp/mdadm.conf
|
mdadm --assemble --scan --config=/tmp/mdadm.conf
|
||||||
|
# a status of 2 is not an error
|
||||||
|
test $? -eq 0 -o $? -eq 2
|
||||||
rc_status -v
|
rc_status -v
|
||||||
else
|
else
|
||||||
# no partitions found, "unused"
|
# no partitions found, "unused"
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 5 06:18:44 CET 2008 - nfbrown@suse.de
|
||||||
|
|
||||||
|
- boot.md : an exit status of '2' from "mdadm --assemble"
|
||||||
|
should not be seen as failure by boot.md.
|
||||||
|
It happens if one or more arrays is already
|
||||||
|
assembled.
|
||||||
|
(bnc#456028)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 20 07:07:06 CET 2008 - nfbrown@suse.de
|
Thu Nov 20 07:07:06 CET 2008 - nfbrown@suse.de
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 10
|
Release: 11
|
||||||
%define ver 3.0-devel2
|
%define ver 3.0-devel2
|
||||||
BuildRequires: sgmltool
|
BuildRequires: sgmltool
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
@ -160,6 +160,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/lib/mkinitrd/scripts/boot-md.sh
|
/lib/mkinitrd/scripts/boot-md.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 05 2008 nfbrown@suse.de
|
||||||
|
- boot.md : an exit status of '2' from "mdadm --assemble"
|
||||||
|
should not be seen as failure by boot.md.
|
||||||
|
It happens if one or more arrays is already
|
||||||
|
assembled.
|
||||||
|
(bnc#456028)
|
||||||
* Thu Nov 20 2008 nfbrown@suse.de
|
* Thu Nov 20 2008 nfbrown@suse.de
|
||||||
- don-t-auto-assemble-if-any-arrays-are-list.patch
|
- don-t-auto-assemble-if-any-arrays-are-list.patch
|
||||||
Avoid assembling extra arrays during initrd
|
Avoid assembling extra arrays during initrd
|
||||||
|
Loading…
Reference in New Issue
Block a user