Merge branch 'mdadm-3.3.x'
This commit is contained in:
commit
5997585200
|
@ -0,0 +1,37 @@
|
|||
Subject: ANNOUNCE: mdadm 3.3.4 - A tool for managing md Soft RAID under Linux
|
||||
|
||||
I am somewhat disappointed to have to announce the availability of
|
||||
mdadm version 3.3.4
|
||||
|
||||
It is available at the usual places:
|
||||
http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
||||
and via git at
|
||||
git://github.com/neilbrown/mdadm
|
||||
git://neil.brown.name/mdadm
|
||||
http://git.neil.brown.name/git/mdadm.git
|
||||
|
||||
In mdadm-3.3 a change was made to how IMSM (Intel Matrix Storage
|
||||
Manager) metadata was handled. Previously an IMSM array would only
|
||||
be assembled if it was attached to an IMSM controller.
|
||||
|
||||
In 3.3 this was relaxed as there are circumstances where the
|
||||
controller is not properly detected. Unfortunately this has negative
|
||||
consequences which have only just come to light.
|
||||
|
||||
If you have an IMSM RAID1 configured and then disable RAID in the
|
||||
BIOS, the metadata will remain on the devices. If you then install
|
||||
some other OS on one device and then install Linux on the other, Linux
|
||||
might eventually start noticing the IMSM metadata (depending a bit on whether
|
||||
mdadm is included in the initramfs) and might start up the RAID1. This could
|
||||
copy one device over the other, thus trashing one of the installations.
|
||||
|
||||
Not good.
|
||||
|
||||
So with this release IMSM arrays will only be assembled if attached to
|
||||
an IMSM controller, or if "--force" is given to --assemble, or if the
|
||||
environment variable IMSM_NO_PLATFORM is set (used primarily for
|
||||
testing).
|
||||
|
||||
I strongly recommend upgrading to 3.3.4 if you are using 3.3 or later.
|
||||
|
||||
NeilBrown 3rd August 2015.
|
|
@ -250,7 +250,9 @@ static int select_devices(struct mddev_dev *devlist,
|
|||
pr_err("no recogniseable superblock on %s\n",
|
||||
devname);
|
||||
tmpdev->used = 2;
|
||||
} else if (tst->ss->load_super(tst,dfd, NULL)) {
|
||||
} else if ((tst->ignore_hw_compat = 0),
|
||||
tst->ss->load_super(tst, dfd,
|
||||
report_mismatch ? devname : NULL)) {
|
||||
if (report_mismatch)
|
||||
pr_err("no RAID superblock on %s\n",
|
||||
devname);
|
||||
|
|
|
@ -205,7 +205,7 @@ int Incremental(struct mddev_dev *devlist, struct context *c,
|
|||
st->ignore_hw_compat = 0;
|
||||
|
||||
if (st->ss->compare_super == NULL ||
|
||||
st->ss->load_super(st, dfd, NULL)) {
|
||||
st->ss->load_super(st, dfd, c->verbose >= 0 ? devname : NULL)) {
|
||||
if (c->verbose >= 0)
|
||||
pr_err("no RAID superblock on %s.\n",
|
||||
devname);
|
||||
|
|
4
ReadMe.c
4
ReadMe.c
|
@ -25,10 +25,10 @@
|
|||
#include "mdadm.h"
|
||||
|
||||
#ifndef VERSION
|
||||
#define VERSION "3.3.3"
|
||||
#define VERSION "3.3.4"
|
||||
#endif
|
||||
#ifndef VERS_DATE
|
||||
#define VERS_DATE "24th July 2015"
|
||||
#define VERS_DATE "3rd August 2015"
|
||||
#endif
|
||||
char Version[] = "mdadm - v" VERSION " - " VERS_DATE "\n";
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ ANNOUNCE-3.3
|
|||
ANNOUNCE-3.3.1
|
||||
ANNOUNCE-3.3.2
|
||||
ANNOUNCE-3.3.3
|
||||
ANNOUNCE-3.3.4
|
||||
Assemble.c
|
||||
Build.c
|
||||
COPYING
|
||||
|
|
|
@ -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.3.3
|
||||
.TH MDADM 8 "" v3.3.4
|
||||
.SH NAME
|
||||
mdadm \- manage MD devices
|
||||
.I aka
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
|
||||
Name: mdadm
|
||||
Version: 3.3.3
|
||||
Version: 3.3.4
|
||||
Release: 1
|
||||
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.gz
|
||||
URL: http://neil.brown.name/blog/mdadm
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.\" -*- nroff -*-
|
||||
.TH MDASSEMBLE 8 "" v3.3.3
|
||||
.TH MDASSEMBLE 8 "" v3.3.4
|
||||
.SH NAME
|
||||
mdassemble \- assemble MD devices
|
||||
.I aka
|
||||
|
|
Loading…
Reference in New Issue