80 lines
2.3 KiB
Diff
80 lines
2.3 KiB
Diff
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;
|
|
}
|