diff --git a/ANNOUNCE-3.1.3 b/ANNOUNCE-3.1.3 new file mode 100644 index 0000000..95b2b6c --- /dev/null +++ b/ANNOUNCE-3.1.3 @@ -0,0 +1,46 @@ +Subject: ANNOUNCE: mdadm 3.1.3 - A tool for managing Soft RAID under Linux + +I am pleased to announce the availability of + mdadm version 3.1.3 + +It is available at the usual places: + countrycode=xx. + http://www.${countrycode}kernel.org/pub/linux/utils/raid/mdadm/ +and via git at + git://neil.brown.name/mdadm + http://neil.brown.name/git?p=mdadm + +This is a bugfix/stability release over 3.1.2 + +Significant changes are: + - mapfile now lives in a fixed location which default to + /dev/.mdadm/map but can be changed at compile time. This + location is choses and most distros provide it during early + boot and preserve it through. As long a /dev exists and is + writable, /dev/.mdadm will be created. + Other files file communication with mdmon live here too. + This fixes a bug reported by Debian and Gentoo users where + udev would spin in early-boot. + - IMSM and DDF metadata will not be recognised on partitions + as they should only be used on whole-disks. + - Various overflows causes by 2G drives have been addressed. + - A subarray of an IMSM contain can now be killed with + --kill-subarray. Also subarrays can be renamed with + --update-subarray + - -If (or --incremental --fail) can be used from udev to + fail and remove from all arrays a device which has been + unplugged from the system. i.e. hot-unplug-support. + - "mdadm /dev/mdX --re-add missing" will look for any device + that looks like it should be a member of /dev/mdX but isn't + and will automatically --re-add it + - Now compile with -Wextra to get extra warnings. + - Lots of minor bug fixes, documentation improvements, etcc + +This release is believed to be stable and you should feel free to +upgrade to 3.1.3 + +It is expected that the next release will be 3.2 with a number of new +features. 3.1.4 will only happen if important bugs show up before 3.2 +is stable. + +NeilBrown 6th August 2010 diff --git a/ChangeLog b/ChangeLog index 9509319..9ea0a1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,57 @@ Please see git logs for detailed change log. This file just contains highlight. +Changes Prior to release 3.1.3 + - mapfile now lives in a fixed location which default to + /dev/.mdadm/map but can be changed at compile time. This + location is choses and most distros provide it during early + boot and preserve it through. As long a /dev exists and is + writable, /dev/.mdadm will be created. + Other files file communication with mdmon live here too. + This fixes a bug reported by Debian and Gentoo users where + udev would spin in early-boot. + - IMSM and DDF metadata will not be recognised on partitions + as they should only be used on whole-disks. + - Various overflows causes by 2G drives have been addressed. + - A subarray of an IMSM contain can now be killed with + --kill-subarray. Also subarrays can be renamed with + --update-subarray + - -If (or --incremental --fail) can be used from udev to + fail and remove from all arrays a device which has been + unplugged from the system. i.e. hot-unplug-support. + - "mdadm /dev/mdX --re-add missing" will look for any device + that looks like it should be a member of /dev/mdX but isn't + and will automatically --re-add it + - Now compile with -Wextra to get extra warnings. + - Lots of minor bug fixes, documentation improvements, etcc + +Changes Prior to release 3.1.2 + - The default metadata has change again (sorry about that). + It is now v1.2 and will hopefully stay that way. It turned + out there with boot-block issues with v1.1 which make it + unsuitable for a default, though in many cases it is still + suitable to use. + - Stopping a container is not permitted when members are still + active + - Add 'homehost' to the valid words for the "AUTO" config file + line. When followed by "-all", this causes mdadm to + auto-assemble any array belonging to this host, but not + auto-assemble anything else. + - Fix some bugs with "--grow --chunksize=" for changing chunksize. + - VAR_RUN can be easily changed at compile time just like ALT_RUN. + This gives distros more flexability in how to manage the + pid and sock files that mdmon needs. + - Various mdmon fixes + - Alway make bitmap 4K-aligned if at all possible. + - If mdadm.conf lists arrays which have inter-dependencies, + the previously had to be listed in the "right" order. Now + any order should work. + - Fix --force assembly of v1.x arrays which are in the process + of recovering. + - Add section on 'scrubbing' to 'md' man page. + - Various command-line-option parsing improvements. + - ... and lots of other bug fixes. + Changes Prior to release 3.1.1 - Multiple fixes for new --grow levels including fixes for serious data corruption problems. diff --git a/Makefile b/Makefile index 4b20cd8..fd274f1 100644 --- a/Makefile +++ b/Makefile @@ -256,7 +256,8 @@ clean : mdadm.Os mdadm.O2 mdmon.O2 \ mdassemble mdassemble.static mdassemble.auto mdassemble.uclibc \ mdassemble.klibc swap_super \ - init.cpio.gz mdadm.uclibc.static test_stripe mdmon + init.cpio.gz mdadm.uclibc.static test_stripe mdmon \ + mdadm.8 dist : clean ./makedist diff --git a/ReadMe.c b/ReadMe.c index bb830ae..7379568 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -24,7 +24,7 @@ #include "mdadm.h" -char Version[] = Name " - v3.1.2 - 10th March 2010\n"; +char Version[] = Name " - v3.1.3 - 6th August 2010\n"; /* * File: ReadMe.c diff --git a/inventory b/inventory index 409cba3..252f464 100755 --- a/inventory +++ b/inventory @@ -6,6 +6,7 @@ ANNOUNCE-3.0.3 ANNOUNCE-3.1 ANNOUNCE-3.1.1 ANNOUNCE-3.1.2 +ANNOUNCE-3.1.3 Assemble.c bitmap.c bitmap.h @@ -38,7 +39,7 @@ managemon.c mapfile.c md.4 md5.h -mdadm.8 +mdadm.8.in mdadm.c mdadm.conf.5 mdadm.conf-example diff --git a/makedist b/makedist index 03ec5fc..0f10f42 100755 --- a/makedist +++ b/makedist @@ -14,9 +14,9 @@ else echo $target is not a directory fi set `grep '^char Version' ReadMe.c ` version=`echo $7 | sed 's/v//'` -grep "^.TH MDADM 8 .. v$version" mdadm.8 > /dev/null 2>&1 || +grep "^.TH MDADM 8 .. v$version" mdadm.8.in > /dev/null 2>&1 || { - echo mdadm.8 does not mention version $version. + echo mdadm.8.in does not mention version $version. exit 1 } grep "^.TH MDMON 8 .. v$version" mdmon.8 > /dev/null 2>&1 || diff --git a/mdadm.8.in b/mdadm.8.in index 8094009..9e352da 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -5,7 +5,7 @@ .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" See file COPYING in distribution for details. -.TH MDADM 8 "" v3.1.2 +.TH MDADM 8 "" v3.1.3 .SH NAME mdadm \- manage MD devices .I aka diff --git a/mdadm.spec b/mdadm.spec index cc53ce0..2703f01 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,6 +1,6 @@ Summary: mdadm is used for controlling Linux md devices (aka RAID arrays) Name: mdadm -Version: 3.1.2 +Version: 3.1.3 Release: 1 Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tgz URL: http://neil.brown.name/blog/mdadm diff --git a/mdassemble.8 b/mdassemble.8 index b414bda..1904e66 100644 --- a/mdassemble.8 +++ b/mdassemble.8 @@ -1,5 +1,5 @@ .\" -*- nroff -*- -.TH MDASSEMBLE 8 "" v3.1.2 +.TH MDASSEMBLE 8 "" v3.1.3 .SH NAME mdassemble \- assemble MD devices .I aka diff --git a/mdmon.8 b/mdmon.8 index e9a8ba9..61ddb3c 100644 --- a/mdmon.8 +++ b/mdmon.8 @@ -1,5 +1,5 @@ .\" See file COPYING in distribution for details. -.TH MDMON 8 "" v3.1.2 +.TH MDMON 8 "" v3.1.3 .SH NAME mdmon \- monitor MD external metadata arrays