]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Release mdadm-3.0-rc1 mdadm-3.0-rc1
authorNeilBrown <neilb@suse.de>
Mon, 11 May 2009 06:33:29 +0000 (16:33 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 11 May 2009 06:33:29 +0000 (16:33 +1000)
ANNOUNCE-3.0-rc1 [new file with mode: 0644]
ReadMe.c
inventory
mdadm.8
mdadm.spec
mdassemble.8
mdmon.8

diff --git a/ANNOUNCE-3.0-rc1 b/ANNOUNCE-3.0-rc1
new file mode 100644 (file)
index 0000000..c6269d4
--- /dev/null
@@ -0,0 +1,139 @@
+Subject:  ANNOUNCE: mdadm 3.0-rc1 - A tool for managing Soft RAID under Linux
+
+I am pleased to announce the availability of
+   mdadm version 3.0-rc1
+
+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 "release candidate" which means that I think it is safe
+to use and that there will be no significant change in functionality
+before release.
+
+The man pages aren't really "release candidate" yet but I will be
+working on them before the final release.
+
+The most significant changes since -devel3 relate to the names of md
+devices as they appear in /dev and /dev/md/, and in particular the names
+that are used when an array is assembled with "--incremental" or with
+"mdadm --assemble --scan" when there are no ARRAY lines in mdadm.conf.
+In these cases mdadm needs to deduce a name to use, and to try to
+avoid using a name that a different array might have a stronger claim to.
+The rules are:
+  - if the array is mentioned in mdadm.conf, use the name given there.
+  - if the array appear to have been created for "this host" using the
+    "homehost" concept, trust the name given in the metadata
+  - if the new setting "HOMEHOST <ignore>" is given (can be in mdadm.conf
+    or on command line) the the name given in the metadata is not
+    associated with some other array by mdadm.conf, then trust the
+    name given in the metadata
+  - otherwise use the name in the metadata, but in an untrusted manner.
+
+If a name is untrusted, or if the name is already in use by another
+array, then a numeric suffix like "_0", "_1" is appended to create
+a unique name for the array.
+
+That name is then used to create a device file in /dev/md/.
+
+So if all arrays needed for boot will always be listed in
+/etc/mdadm.conf, then it is appropriate to add "HOMEHOST <ignore>" to
+mdadm.conf and there is no risk of conflicting names.  However if you
+want auto-assemble to assemble all arrays at boot time and you don't
+want to list them in mdadm.conf, then don't give "HOMEHOST <ignore>"
+either else there could be a risk of the wrong array being assembled
+for a given name.
+
+
+
+The following is the same introduction to 3.x as appeared in
+previous announcements.
+
+Any testing and feedback will be greatly appreciated.
+
+NeilBrown  11th May 2009
+
+
+=====================================================
+
+The significant change which justifies the new major version number is
+that mdadm can now handle metadata updates entirely in userspace.
+This allows mdadm to support metadata formats that the kernel knows
+nothing about.
+
+Currently two such metadata formats are supported:
+  - DDF  - The SNIA standard format
+  - Intel Matrix - The metadata used by recent Intel ICH controlers.
+
+Also the approach to device names has changed significantly.
+
+If udev is installed on the system, mdadm will not create any devices
+in /dev.  Rather it allows udev to manage those devices.  For this to work
+as expected, the included udev rules file should be installed.
+
+If udev is not install, mdadm will still create devices and symlinks 
+as required, and will also remove them when the array is stopped.
+
+mdadm now requires all devices which do not have a standard name (mdX
+or md_dX) to live in the directory /dev/md/.  Names in this directory
+will always be created as symlinks back to the standard name in /dev.
+
+The man pages contain some information about the new externally managed
+metadata.  However see below for a more condensed overview.
+
+Externally managed metadata introduces the concept of a 'container'.
+A container is a collection of (normally) physical devices which have
+a common set of metadata.  A container is assembled as an md array, but
+is left 'inactive'.
+
+A container can contain one or more data arrays.  These are composed from
+slices (partitions?) of various devices in the container.
+
+For example, a 5 devices DDF set can container a RAID1 using the first
+half of two devices, a RAID0 using the first half of the remain 3 devices,
+and a RAID5 over thte second half of all 5 devices.
+
+A container can be created with
+
+   mdadm --create /dev/md0 -e ddf -n5 /dev/sd[abcde]
+
+or "-e imsm" to use the Intel Matrix Storage Manager.
+
+An array can be created within a container either by giving the
+container name and the only member:
+
+   mdadm -C /dev/md1 --level raid1 -n 2 /dev/md0
+
+or by listing the component devices
+
+   mdadm -C /dev/md2 --level raid0 -n 3 /dev/sd[cde]
+
+To assemble a container, it is easiest just to pass each device in turn to 
+mdadm -I
+
+  for i in /dev/sd[abcde]
+  do mdadm -I $i
+  done
+
+This will assemble the container and the components.
+
+Alternately the container can be assembled explicitly
+
+   mdadm -A /dev/md0 /dev/sd[abcde]
+
+Then the components can all be assembled with
+
+   mdadm -I /dev/md0
+
+For each container, mdadm will start a program called "mdmon" which will
+monitor the array and effect any metadata updates needed.  The array is
+initially assembled readonly. It is up to "mdmon" to mark the metadata 
+as 'dirty' and which the array to 'read-write'.
+
+The version 0.90 and 1.x metadata formats supported by previous
+versions for mdadm are still supported and the kernel still performs
+the same updates it use to.  The new 'mdmon' approach is only used for
+newly introduced metadata types.
index 9ed5d9a4d3c8f3fdfb29ed69d28959be2f798f33..a1944796f588fc7ba592d6306a1d33cc6e521993 100644 (file)
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -24,7 +24,7 @@
 
 #include "mdadm.h"
 
-char Version[] = Name " - v3.0-devel3 - 10th March 2009\n";
+char Version[] = Name " - v3.0-rc1 - 11th May 2009\n";
 
 /*
  * File: ReadMe.c
index 0c4a597b487ddd994987868c267099b1550ea976..5e1aa75658836d1cdd63c421ea14a30bfdc6f1d2 100755 (executable)
--- a/inventory
+++ b/inventory
@@ -27,6 +27,7 @@ ANNOUNCE-2.6.9
 ANNOUNCE-3.0-devel1
 ANNOUNCE-3.0-devel2
 ANNOUNCE-3.0-devel3
+ANNOUNCE-3.0-rc1
 Assemble.c
 bitmap.c
 bitmap.h
@@ -112,6 +113,8 @@ tests/00raid5
 tests/00raid6
 tests/01r1fail
 tests/01r5fail
+tests/01r5integ
+tests/01raid6integ
 tests/02lineargrow
 tests/02r1add
 tests/02r1grow
@@ -147,6 +150,7 @@ tests/07reshape5intr
 tests/07testreshape5
 tests/08imsm-overlap
 tests/09imsm-create-fail-rebuild
+tests/10ddf-create
 tests/check
 tests/env-08imsm-overlap
 tests/env-09imsm-create-fail-rebuild
diff --git a/mdadm.8 b/mdadm.8
index 4c03c373218549488440f8ab14a7f99f2622e16b..3b4f47d8264368881c26616436803d892f80196e 100644 (file)
--- a/mdadm.8
+++ b/mdadm.8
@@ -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.0-devel3
+.TH MDADM 8 "" v3.0-rc1
 .SH NAME
 mdadm \- manage MD devices
 .I aka
index ea5875cf552d69401d0b4c86de57d1c21f4bf1b4..c9618174e3bec64c89a0cfb67df9f94a89e119b0 100644 (file)
@@ -1,6 +1,6 @@
 Summary:     mdadm is used for controlling Linux md devices (aka RAID arrays)
 Name:        mdadm
-Version:     3.0_devel3
+Version:     3.0_rc1
 Release:     1
 Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tgz
 URL:         http://neil.brown.name/blog/mdadm
index adae918fd309ce868f3aaf1cff22ea54759c5e9b..1baf2fe0b79099199d0592499335ef197c6e2859 100644 (file)
@@ -1,5 +1,5 @@
 .\" -*- nroff -*-
-.TH MDASSEMBLE 8 "" v3.0-devel3
+.TH MDASSEMBLE 8 "" v3.0-rc1
 .SH NAME
 mdassemble \- assemble MD devices
 .I aka
diff --git a/mdmon.8 b/mdmon.8
index 62d9f2ac5c5e8c603a5246642b5fbf742887a12d..2129dc78ec1b1806e07cc9036f84f68161674148 100644 (file)
--- a/mdmon.8
+++ b/mdmon.8
@@ -1,5 +1,5 @@
 .\" See file COPYING in distribution for details.
-.TH MDMON 8 "" v3.0-devel3
+.TH MDMON 8 "" v3.0-rc1
 .SH NAME
 mdmon \- monitor MD external metadata arrays