OBS User unknown 2007-10-25 00:35:29 +00:00 committed by Git OBS Bridge
parent 0e7d8d6162
commit 8c3a71f07e
5 changed files with 66 additions and 91 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b026731babd23013277d7a0e087d2233ff044deb616c51851dc3adffaae32a55
size 151082

3
mdadm-2.6.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d39f110eda550b9e7dbe9d1e56098ef77197029cb8c5f5d638d2c255feaf23d
size 152401

View File

@ -1,79 +0,0 @@
Commit: bf40ab857fa3e4f8e98750f750f520a2e3ecc49f
Author: Neil Brown <neilb@suse.de> Wed, 11 Jul 2007 09:08:49 +1000
Typo in man page: Multipath has an L ...
diff --git a/md.4 b/md.4
index 7937b79..0076558 100644
--- a/md.4
+++ b/md.4
@@ -256,7 +256,7 @@ copies, then there will be a total of 4 copies of each block, each on
a different drive. This is an artifact of the implementation and is
unlikely to be of real value.
-.SS MUTIPATH
+.SS MULTIPATH
MULTIPATH is not really a RAID at all as there is only one real device
in a MULTIPATH md array. However there are multiple access points
Commit: 01d9299c1a1632b1be47dd6c9191b0e905928b2b
Author: Neil Brown <neilb@suse.de> Mon, 09 Jul 2007 09:59:42 +1000
Fix spare migration and other problems with --monitor.
2.6 broke --monitor in various ways, including spare migration
stopped working. This fixes it.
diff --git a/Monitor.c b/Monitor.c
index ece6abb..9293637 100644
--- a/Monitor.c
+++ b/Monitor.c
@@ -328,6 +328,7 @@ int Monitor(mddev_dev_t devlist,
for (i=0; i<MaxDisks && i <= array.raid_disks + array.nr_disks;
i++) {
mdu_disk_info_t disc;
+ disc.number = i;
if (ioctl(fd, GET_DISK_INFO, &disc) >= 0) {
info[i].state = disc.state;
info[i].major = disc.major;
diff --git a/mdadm.8 b/mdadm.8
index ce88d04..25a6758 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -972,6 +972,8 @@ the right thing, then the array can be successfully assembled using
.TP
.BR \-X ", " \-\-examine\-bitmap
Report information about a bitmap file.
+The argument is either an external bitmap file or an array component
+in case of an internal bitmap.
.TP
.BR \-R ", " \-\-run
Commit: a328c097ff8016342ae336af92cabbc32bc8d1fd
Author: Neil Brown <neilb@suse.de> Tue, 22 May 2007 09:46:29 +1000
Fix compile error in Detail.c
'avail' is undefined if '--export', so make sure we don't try to use
it.
diff --git a/Detail.c b/Detail.c
index 0ed81d1..7e14163 100644
--- a/Detail.c
+++ b/Detail.c
@@ -377,12 +377,12 @@ This is pretty boring
if (brief > 1 && devices) printf("\n devices=%s", devices);
if (brief) printf("\n");
-out:
if (test &&
!enough(array.level, array.raid_disks, array.layout,
1, avail, avail_disks))
rv = 2;
+out:
close(fd);
return rv;
}

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Oct 24 17:08:11 CEST 2007 - mmarek@suse.cz
- updated to 2.6.4
* Make "--create --auto=mdp" work for non-standard device names.
* Fix restarting of a 'reshape' if it was stopped in the middle.
* Fix a segfault when using v1 superblock.
* Make --write-mostly effective when re-adding a device to an
array.
* Various minor fixes
- changes in 2.6.3:
* allow --write-behind to be set for --grow.
* When adding new disk to an array, don't reserve so much bitmap
space that the disk cannot store the required data. (Needed
when 1.x array was created with older mdadm).
* When adding a drive that was a little too small, we did not get
the correct error message.
* Make sure that if --assemble find an array in the critical
region of a reshape, and cannot find the critical data to
restart the reshape, it gives an error message.
* Fix segfault with '--detail --export' and non-persistent
superblocks.
* Various manpage updates.
* Improved 'raid4' support (--assemble, --monitor)
* Option parsing fixes w.r.t -a
* Interpret "--assemble --metadata=1" to allow any version 1.x
metadata, and be more specific in the "metadata=" message
printed with --examine --brief
* Fix spare migration in --monitor.
-------------------------------------------------------------------
Fri Jul 27 13:01:01 CEST 2007 - mmarek@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package mdadm (Version 2.6.2)
# spec file for package mdadm (Version 2.6.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -11,15 +11,15 @@
# norootforbuild
Name: mdadm
Version: 2.6.2
Release: 4
BuildRequires: opensp sgmltool
Version: 2.6.4
Release: 1
BuildRequires: sgmltool
PreReq: %fillup_prereq %insserv_prereq
Obsoletes: raidtools
Autoreqprov: on
AutoReqProv: on
Group: System/Base
License: GPL v2 or later
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
Url: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
Summary: Utility for Configuring MD Setup
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
@ -29,7 +29,6 @@ Source3: mdadmd
Source4: boot.md
Source5: mdrun
Source6: raidautorun.c
Patch1: mdadm-git-fixes.patch
%description
Mdadm is a program that can be used to control Linux md devices. It is
@ -44,7 +43,6 @@ Authors:
%prep
%setup -q -a1
%patch1 -p1
%build
%{suse_update_config -f}
@ -119,8 +117,34 @@ rm -rf $RPM_BUILD_ROOT
/lib/udev
%{_sbindir}/*
%{_var}/adm/fillup-templates/sysconfig.mdadm
%changelog
* Wed Oct 24 2007 - mmarek@suse.cz
- updated to 2.6.4
* Make "--create --auto=mdp" work for non-standard device names.
* Fix restarting of a 'reshape' if it was stopped in the middle.
* Fix a segfault when using v1 superblock.
* Make --write-mostly effective when re-adding a device to an
array.
* Various minor fixes
- changes in 2.6.3:
* allow --write-behind to be set for --grow.
* When adding new disk to an array, don't reserve so much bitmap
space that the disk cannot store the required data. (Needed
when 1.x array was created with older mdadm).
* When adding a drive that was a little too small, we did not get
the correct error message.
* Make sure that if --assemble find an array in the critical
region of a reshape, and cannot find the critical data to
restart the reshape, it gives an error message.
* Fix segfault with '--detail --export' and non-persistent
superblocks.
* Various manpage updates.
* Improved 'raid4' support (--assemble, --monitor)
* Option parsing fixes w.r.t -a
* Interpret "--assemble --metadata=1" to allow any version 1.x
metadata, and be more specific in the "metadata=" message
printed with --examine --brief
* Fix spare migration in --monitor.
* Fri Jul 27 2007 - mmarek@suse.cz
- changes to the init script [#288454]
* don't try to autoassemble if /etc/mdadm.conf exists (even an