OBS User unknown 2007-07-13 16:13:41 +00:00 committed by Git OBS Bridge
parent 894b2ee31c
commit 711a5fae6d
5 changed files with 121 additions and 7 deletions

View File

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

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

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

79
mdadm-git-fixes.patch Normal file
View File

@ -0,0 +1,79 @@
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,21 @@
-------------------------------------------------------------------
Fri Jul 13 15:02:21 CEST 2007 - mmarek@suse.cz
- updated to 2.6.2
* --fail detached and --remove faulty can be used to fail and
remove devices that are no longer physically present.
* --export option for --detail or present information in a format
that can be processed by udev.
* fix internal bitmap allocation problems with v1.1, v1.2
metadata.
* --help now goes to stdout so you can direct it to a pager.
* Various manpage updates.
* Make "--grow --add" for linear arrays really work.
* --auto-detect to trigger in-kernel autodetect.
* Make return code for "--detail --test" more reliable. Missing
devices as well as failed devices cause an error.
- added some fixes from Neil's git repo (mdadm-git-fixes.patch)
-------------------------------------------------------------------
Thu Jun 21 15:58:37 CEST 2007 - adrian@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package mdadm (Version 2.6.1)
# spec file for package mdadm (Version 2.6.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -11,14 +11,14 @@
# norootforbuild
Name: mdadm
Version: 2.6.1
Release: 16
Version: 2.6.2
Release: 1
BuildRequires: opensp sgmltool
PreReq: %fillup_prereq %insserv_prereq
Obsoletes: raidtools
Autoreqprov: on
Group: System/Base
License: GNU General Public License (GPL)
License: GPL v2 or later
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
Summary: Utility for Configuring MD Setup
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -29,6 +29,7 @@ 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
@ -43,6 +44,7 @@ Authors:
%prep
%setup -q -a1
%patch1 -p1
%build
%{suse_update_config -f}
@ -119,6 +121,21 @@ rm -rf $RPM_BUILD_ROOT
%{_var}/adm/fillup-templates/sysconfig.mdadm
%changelog
* Fri Jul 13 2007 - mmarek@suse.cz
- updated to 2.6.2
* --fail detached and --remove faulty can be used to fail and
remove devices that are no longer physically present.
* --export option for --detail or present information in a format
that can be processed by udev.
* fix internal bitmap allocation problems with v1.1, v1.2
metadata.
* --help now goes to stdout so you can direct it to a pager.
* Various manpage updates.
* Make "--grow --add" for linear arrays really work.
* --auto-detect to trigger in-kernel autodetect.
* Make return code for "--detail --test" more reliable. Missing
devices as well as failed devices cause an error.
- added some fixes from Neil's git repo (mdadm-git-fixes.patch)
* Thu Jun 21 2007 - adrian@suse.de
- fix changelog entry order
* Mon Apr 02 2007 - mmarek@suse.cz