forked from pool/mdadm
This commit is contained in:
parent
b7a1ef182f
commit
ab762c8d5e
6
boot.md
6
boot.md
@ -130,7 +130,11 @@ case "$1" in
|
|||||||
# do auto-assemly only if /etc/mdadm.conf is missing
|
# do auto-assemly only if /etc/mdadm.conf is missing
|
||||||
# run at boot-time, so a fixed tmp name is safe
|
# run at boot-time, so a fixed tmp name is safe
|
||||||
rm -rf /tmp/mdadm.conf
|
rm -rf /tmp/mdadm.conf
|
||||||
if ! mdadm --examine --scan --config=partitions >/tmp/mdadm.conf
|
|
||||||
|
if test "$BOOT_MD_USE_MDADM_CONFIG" = "part"; then
|
||||||
|
echo CREATE auto=part > /tmp/mdadm.conf
|
||||||
|
fi
|
||||||
|
if ! mdadm --examine --scan --config=partitions >>/tmp/mdadm.conf
|
||||||
then
|
then
|
||||||
echo "mdadm --examine --scan failed:"
|
echo "mdadm --examine --scan failed:"
|
||||||
cat /tmp/mdadm.conf
|
cat /tmp/mdadm.conf
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d996c9f69429fcb746a1bc7665ee8c413906996a75c2baeff7e9573487be7521
|
|
||||||
size 236945
|
|
3
mdadm-3.0-devel2.tar.bz2
Normal file
3
mdadm-3.0-devel2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:40c18353b488cd1731349d4b585c3e14f3003e0d04f487c680f47b4500e1fcfc
|
||||||
|
size 246779
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 6 03:22:50 CET 2008 - nfbrown@suse.de
|
||||||
|
|
||||||
|
- Update from mdadm-3.0-devel1 to mdadm-3.0-devel2.
|
||||||
|
This includes various bug fixes and enhancements to the
|
||||||
|
extent that DDF and IMSM work reasonably well and can be
|
||||||
|
auto-assembled much like other arrays.
|
||||||
|
- Allow BOOT_MD_USE_MDADM_CONFIG to have the value 'part'
|
||||||
|
that, like 'no', arrays are auto-assembled. However they
|
||||||
|
get assembled as 'mdp' partitionable arrays where possible.
|
||||||
|
This currently only affect arrays with v1.x metadata.
|
||||||
|
This supports FATE#303894
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 3 15:28:49 CEST 2008 - mmarek@suse.cz
|
Fri Oct 3 15:28:49 CEST 2008 - mmarek@suse.cz
|
||||||
|
|
||||||
|
14
mdadm.spec
14
mdadm.spec
@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 3
|
Release: 4
|
||||||
%define ver 3.0-devel1
|
%define ver 3.0-devel2
|
||||||
BuildRequires: sgmltool
|
BuildRequires: sgmltool
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
Obsoletes: raidtools
|
Obsoletes: raidtools
|
||||||
@ -141,6 +141,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/lib/mkinitrd/scripts/boot-md.sh
|
/lib/mkinitrd/scripts/boot-md.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 06 2008 nfbrown@suse.de
|
||||||
|
- Update from mdadm-3.0-devel1 to mdadm-3.0-devel2.
|
||||||
|
This includes various bug fixes and enhancements to the
|
||||||
|
extent that DDF and IMSM work reasonably well and can be
|
||||||
|
auto-assembled much like other arrays.
|
||||||
|
- Allow BOOT_MD_USE_MDADM_CONFIG to have the value 'part'
|
||||||
|
that, like 'no', arrays are auto-assembled. However they
|
||||||
|
get assembled as 'mdp' partitionable arrays where possible.
|
||||||
|
This currently only affect arrays with v1.x metadata.
|
||||||
|
This supports FATE#303894
|
||||||
* Fri Oct 03 2008 mmarek@suse.cz
|
* Fri Oct 03 2008 mmarek@suse.cz
|
||||||
- fixed mdmon's clone_monitor on ia64
|
- fixed mdmon's clone_monitor on ia64
|
||||||
* Fri Oct 03 2008 mmarek@suse.cz
|
* Fri Oct 03 2008 mmarek@suse.cz
|
||||||
|
@ -51,10 +51,13 @@ MDADM_CONFIG="/etc/mdadm.conf"
|
|||||||
#
|
#
|
||||||
MDADM_SEND_MAIL_ON_START=no
|
MDADM_SEND_MAIL_ON_START=no
|
||||||
|
|
||||||
## Type: yesno
|
## Type: list(yes,no,part)
|
||||||
## Default: no
|
## Default: no
|
||||||
#
|
#
|
||||||
# "yes" for mdadm.conf to be used for array assembly on boot
|
# "yes" for mdadm.conf to be used for array assembly on boot
|
||||||
|
# "no" for arrays to be automatically detected and assembled
|
||||||
|
# "part" is like "no" except that arrays with 1.x metadate
|
||||||
|
# will be assembled as partitionable arrays.
|
||||||
#
|
#
|
||||||
BOOT_MD_USE_MDADM_CONFIG=yes
|
BOOT_MD_USE_MDADM_CONFIG=yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user