]> git.ipfire.org Git - thirdparty/mdadm.git/log
thirdparty/mdadm.git
17 years agoReorganise Assemble code somewhat.
Neil Brown [Tue, 23 May 2006 06:12:40 +0000 (06:12 +0000)] 
Reorganise Assemble code somewhat.

We make sure all devices can are consistent before doing any --update
This saves us from updating some but not all of an array, and then
aborting.

It also means we can backtrack on out decisions, which we might want to
do later.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoMake sure name matching for array assembly understand the possibility of a homehost
Neil Brown [Tue, 23 May 2006 05:24:22 +0000 (05:24 +0000)] 
Make sure name matching for array assembly understand the possibility of a homehost

This "--assemble --name=foo" on host 'bar' will assemble an array named
'foo' or 'bar:foo'.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoSupport --update=homehost to allow updating of homehost information.
Neil Brown [Tue, 23 May 2006 05:16:32 +0000 (05:16 +0000)] 
Support --update=homehost to allow updating of homehost information.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAllow --update=name to update the name during assembly.
Neil Brown [Tue, 23 May 2006 04:57:04 +0000 (04:57 +0000)] 
Allow --update=name to update the name during assembly.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoMake sure homehost is set correctly when --update=uuid
Neil Brown [Tue, 23 May 2006 04:51:39 +0000 (04:51 +0000)] 
Make sure homehost is set correctly when --update=uuid

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoInclude homehost information in --examine as appropriate
Neil Brown [Fri, 19 May 2006 07:19:04 +0000 (07:19 +0000)] 
Include homehost information in --examine as appropriate

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoInclude homehost information in --detail where appropriate.
Neil Brown [Fri, 19 May 2006 07:13:03 +0000 (07:13 +0000)] 
Include homehost information in --detail where appropriate.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoMake homehost information appear in superblock.
Neil Brown [Fri, 19 May 2006 06:56:06 +0000 (06:56 +0000)] 
Make homehost information appear in superblock.

When an array is created, if the homehost is know,
the superblock gets it, either in the uuid, (via sha1)
or in the name field.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAllow homehost to be set on command line or in config file
Neil Brown [Fri, 19 May 2006 05:50:08 +0000 (05:50 +0000)] 
Allow homehost to be set on command line or in config file

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoImprove code for recognising config lines.
Neil Brown [Fri, 19 May 2006 05:33:05 +0000 (05:33 +0000)] 
Improve code for recognising config lines.

No more magic numbers.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoJust updaqte copyright dates and email address
Neil Brown [Fri, 19 May 2006 05:25:11 +0000 (05:25 +0000)] 
Just updaqte copyright dates and email address

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoNew flag --no-degraded
Neil Brown [Fri, 19 May 2006 04:53:22 +0000 (04:53 +0000)] 
New flag --no-degraded

Use to avoid starting arrays if there are
fewer devices available than last time the array was started.
This is only needed with --scan, as with --scan, that behaviour
is the default.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAdd a copy of /proc/mdstat to the mail message send by mdadm --monitor.
Neil Brown [Fri, 19 May 2006 03:58:45 +0000 (03:58 +0000)] 
Add a copy of /proc/mdstat to the mail message send by mdadm --monitor.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFix incorrect error status from --examine --scan
Neil Brown [Fri, 19 May 2006 03:48:49 +0000 (03:48 +0000)] 
Fix incorrect error status from --examine --scan

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoArrange the 'auto' setting in mdadm.conf can choose default type.
Neil Brown [Tue, 16 May 2006 07:35:06 +0000 (07:35 +0000)] 
Arrange the 'auto' setting in mdadm.conf can choose default type.

So when you say auto=md or auto=part in mdadm.conf, it give a preference
for type of array, but standard name will override.

But --auto=md is more insistant.

FIXME  I'm not at all happy about handling of names that already exist.
  I don't think that should be removed if the device is active.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoWhen updating uuid, update the bitmap as well - external bitmaps
Neil Brown [Tue, 16 May 2006 06:05:27 +0000 (06:05 +0000)] 
When updating uuid, update the bitmap as well - external bitmaps

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFix a couple of typos in the man page.
Neil Brown [Tue, 16 May 2006 05:53:15 +0000 (05:53 +0000)] 
Fix a couple of typos in the man page.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoWhen updating uuid, update the bitmap as well - internal bitmaps.
Neil Brown [Tue, 16 May 2006 05:52:51 +0000 (05:52 +0000)] 
When updating uuid, update the bitmap as well - internal bitmaps.

Otherwise when you "--update==uuid" an array with an internal
bitmap, it will break, badly.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoDetail checks if array has been started or not and includes that in report.
Neil Brown [Mon, 15 May 2006 06:03:05 +0000 (06:03 +0000)] 
Detail checks if array has been started or not and includes that in report.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAllow default creation info to to be stored in mdadm.conf
Neil Brown [Mon, 15 May 2006 06:02:41 +0000 (06:02 +0000)] 
Allow default creation info to to be stored in mdadm.conf

Default owner, group, mode and 'auto' flag can be given in a 'CREATE' line.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoLimit size of bitmap to 2million chunks.
Neil Brown [Mon, 15 May 2006 04:21:33 +0000 (04:21 +0000)] 
Limit size of bitmap to 2million chunks.

When creating a file bitmap, choose a default size that
results in fewer than 2^21 chunks.  Without this kmalloc
failure in the kernel becomes likely.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoFix problem with sector/KB size confuision for bitmap sizing.
Neil Brown [Mon, 15 May 2006 03:57:53 +0000 (03:57 +0000)] 
Fix problem with sector/KB size confuision for bitmap sizing.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoSupport new offset layout for raid10
Neil Brown [Mon, 15 May 2006 02:46:54 +0000 (02:46 +0000)] 
Support new offset layout for raid10

Requires 2.6.18.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoAssume "DEVICE partitions" if no DEVICE line present.
Neil Brown [Mon, 15 May 2006 01:58:47 +0000 (01:58 +0000)] 
Assume "DEVICE partitions" if no DEVICE line present.

This means the output of "mdadm -Es" can be used as a complete
mdadm.conf file .... if you really want to do that.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoArrange that SparesMissing events generate an email too.
Neil Brown [Mon, 15 May 2006 01:35:47 +0000 (01:35 +0000)] 
Arrange that SparesMissing events generate an email too.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoSupport 'mailfrom' line in mdadm.conf so the From: line in alert emails can be explic...
Neil Brown [Mon, 15 May 2006 01:27:04 +0000 (01:27 +0000)] 
Support 'mailfrom' line in mdadm.conf so the From: line in alert emails can be explicitly set.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoUse O_DIRECT to read bitmap files.
Neil Brown [Mon, 15 May 2006 00:56:02 +0000 (00:56 +0000)] 
Use O_DIRECT to read bitmap files.

A pending patch to the kernel causes bitmap file updates
to not go through the page cache, so O_DIRECT is needed to
ensure that we read current data.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years ago[PATCH] Make sure update_super returns correct value.
Neil Brown [Fri, 28 Apr 2006 04:10:38 +0000 (14:10 +1000)] 
[PATCH] Make sure update_super returns correct value.

For 'force' and 'assemble', update_super must return true
if anything was changed.

Also fix a bug with wonly handling in super0.

Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
 ./super0.c |   18 ++++++++++++++----
 ./super1.c |    7 +++++++
 2 files changed, 21 insertions(+), 4 deletions(-)

diff ./super0.c~current~ ./super0.c

18 years ago[PATCH] Get the name for partitioned devices in sysfs correct.
Neil Brown [Fri, 28 Apr 2006 04:09:24 +0000 (14:09 +1000)] 
[PATCH] Get the name for partitioned devices in sysfs correct.

There are 64 partitions per device, not 16.

Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
 ./sysfs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff ./sysfs.c~current~ ./sysfs.c

18 years agoRelease 2.4.1 mdadm-2.4.1
Neil Brown [Mon, 17 Apr 2006 12:49:28 +0000 (12:49 +0000)] 
Release 2.4.1

Annoying alignment bug in version-1 supers on 64bit..

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix alignment problem in version-1 superblocks.
Neil Brown [Fri, 7 Apr 2006 04:34:45 +0000 (04:34 +0000)] 
Fix alignment problem in version-1 superblocks.

NOTE: This is an incompatable change affecting raid5 reshape.
If you want to reshape a raid5 using version-1 superblocks,
use 2.6.17-rc2 or later, and mdadm-2.4.1 or later.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd tests/05r1-grow-internal-1
Neil Brown [Sat, 1 Apr 2006 09:28:36 +0000 (09:28 +0000)] 
Add tests/05r1-grow-internal-1

18 years agofix write mostly for add and re-add
Neil Brown [Mon, 3 Apr 2006 00:11:51 +0000 (00:11 +0000)] 
fix write mostly for add and re-add

The following patch makes it possible to tag a device as write-mostly on
--add and --re-add with a non-persistent superblock array. Previously,
this was not working.

Signed-Off-By: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd ANNOUNCE-2.4 mdadm-2.4
Neil Brown [Thu, 30 Mar 2006 04:24:09 +0000 (04:24 +0000)] 
Add ANNOUNCE-2.4

18 years agoRelease 2.4
Neil Brown [Mon, 3 Apr 2006 00:09:16 +0000 (00:09 +0000)] 
Release 2.4

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd tests/05r1-grow-internal-1
Neil Brown [Wed, 29 Mar 2006 05:21:16 +0000 (05:21 +0000)] 
Add tests/05r1-grow-internal-1

18 years agoUpdates to md.4
Neil Brown [Thu, 30 Mar 2006 04:17:51 +0000 (04:17 +0000)] 
Updates to md.4

Particularly restiping and sysfs, but a few other bits too.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoBug fixes to pass test suite
Neil Brown [Wed, 29 Mar 2006 06:28:07 +0000 (06:28 +0000)] 
Bug fixes to pass test suite

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSupport 'bitmap=' in mdadm.conf for auto-assembling arrays with write-intent bitmaps...
Neil Brown [Wed, 29 Mar 2006 02:57:48 +0000 (02:57 +0000)] 
Support 'bitmap=' in mdadm.conf for auto-assembling arrays with write-intent bitmaps in separate files.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoMan page tidyup.
Neil Brown [Wed, 29 Mar 2006 02:45:06 +0000 (02:45 +0000)] 
Man page tidyup.

mdadm.8 improved (I hope).
Rearrange some option documentation and add --backup-file, and other
general improvements.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoChangelog Updates
Neil Brown [Tue, 28 Mar 2006 23:27:05 +0000 (23:27 +0000)] 
Changelog Updates

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoKill old superblocks on create.
Neil Brown [Tue, 28 Mar 2006 23:22:58 +0000 (23:22 +0000)] 
Kill old superblocks on create.

Make sure old-version superblocks are not around to confuse anything
when a new array is created.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoReduce dependance on MD_SB_DISKS
Neil Brown [Tue, 28 Mar 2006 23:02:45 +0000 (23:02 +0000)] 
Reduce dependance on MD_SB_DISKS

--monitor should now work with arrays larger than 28 devices.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd information about reshape to --detail
Neil Brown [Tue, 28 Mar 2006 22:44:05 +0000 (22:44 +0000)] 
Add information about reshape to --detail

Also fix problems with dev names and symlinks

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoDon't try to get bitmap info on old kernels.
Neil Brown [Tue, 28 Mar 2006 06:39:29 +0000 (06:39 +0000)] 
Don't try to get bitmap info on old kernels.

.. this causes silly warnings.
Unfortuantely there are 2.6 kernels which will still produce
warnings.  We cannot reliable detect those.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoCreate missing /dev files where needed.
Neil Brown [Tue, 28 Mar 2006 06:26:53 +0000 (06:26 +0000)] 
Create missing /dev files where needed.

Whenever we need a device file to open, if one cannot be found in /dev,
create a temporary one.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix messy --detail output when there is a failed device.
Neil Brown [Tue, 28 Mar 2006 05:51:50 +0000 (05:51 +0000)] 
Fix messy --detail output when there is a failed device.

The missing devices show as garbage.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoMake scanning of /dev work even if it is a symlink
Neil Brown [Mon, 27 Mar 2006 06:54:31 +0000 (06:54 +0000)] 
Make scanning of /dev work even if it is a symlink

We generally don't want to follow symlinks in /dev, but if
/dev itself is a symlink, we want to follow it.
So nftw needs a bit of help.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAllow resize to backup to a file.
Neil Brown [Mon, 27 Mar 2006 06:38:46 +0000 (06:38 +0000)] 
Allow resize to backup to a file.

To support resizing an array without a spare, mdadm now understands
  --backup-file=
which should point to a file for storing a backup of critical data.
This can be given to --grow which will create the file, or
--assemble which will restore from the file if needed.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoRemove ident arg from getinfo_super;
Neil Brown [Mon, 27 Mar 2006 04:34:38 +0000 (04:34 +0000)] 
Remove ident arg from getinfo_super;

Add a 'name' field to 'info' to compensate.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoPut a 'canary' block in front of the backup
Neil Brown [Mon, 27 Mar 2006 04:14:43 +0000 (04:14 +0000)] 
Put a 'canary' block in front of the backup

.. so corruptio can be detected.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd ANNOUNCE-2.4-pre1 mdadm-2.4-pre1
Neil Brown [Mon, 20 Mar 2006 03:34:49 +0000 (03:34 +0000)] 
Add ANNOUNCE-2.4-pre1

18 years agoRelease 2.4-pre1
Neil Brown [Mon, 20 Mar 2006 03:50:25 +0000 (03:50 +0000)] 
Release 2.4-pre1

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix a few issues with the reshape patches.
Neil Brown [Mon, 20 Mar 2006 03:26:42 +0000 (03:26 +0000)] 
Fix a few issues with the reshape patches.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSupport restarting of a reshape on --assemble
Neil Brown [Mon, 20 Mar 2006 03:17:31 +0000 (03:17 +0000)] 
Support restarting of a reshape on --assemble

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoInitial reshape support
Neil Brown [Mon, 13 Mar 2006 05:51:32 +0000 (05:51 +0000)] 
Initial reshape support

Needs work for other levels etc.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd ANNOUNCE-2.3.1 mdadm-2.3.1
Neil Brown [Mon, 6 Feb 2006 04:11:49 +0000 (04:11 +0000)] 
Add ANNOUNCE-2.3.1

18 years agoRelease some compile fixes.
Neil Brown [Mon, 6 Feb 2006 04:18:12 +0000 (04:18 +0000)] 
Release some compile fixes.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoUpdate ChangeLog and release 2.3 mdadm-2.3
Neil Brown [Thu, 2 Feb 2006 05:17:24 +0000 (05:17 +0000)] 
Update ChangeLog and release 2.3

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSome little bits and pieces...
Neil Brown [Thu, 2 Feb 2006 03:19:57 +0000 (03:19 +0000)] 
Some little bits and pieces...

I'm obviously bored of writing changelog entries.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix printing of size of reiserfs filesystem.
Neil Brown [Tue, 31 Jan 2006 00:43:50 +0000 (00:43 +0000)] 
Fix printing of size of reiserfs filesystem.

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318230

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSort mdstat entries so that composites are well-ordered.
Neil Brown [Tue, 31 Jan 2006 00:39:50 +0000 (00:39 +0000)] 
Sort mdstat entries so that composites are well-ordered.

This means that "-Ds" lists arrays in an approprate order
for assembly.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoPrefer version-1 superblocks for v.large devices.
Neil Brown [Tue, 31 Jan 2006 00:01:48 +0000 (00:01 +0000)] 
Prefer version-1 superblocks for v.large devices.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoReport device size correctly in --detail for Large devices.
Neil Brown [Mon, 30 Jan 2006 23:42:53 +0000 (23:42 +0000)] 
Report device size correctly in --detail for Large devices.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoStuff like..
Neil Brown [Mon, 30 Jan 2006 23:23:45 +0000 (23:23 +0000)] 
Stuff like..

- report Intent Bitmap in --detail
- report internal bitmap in --examine
- pass' --force through to --grow --bitmap
- support v.large arrays in --grow --bitmap

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoReport bitmap offset when examining v1 superblock.
Neil Brown [Mon, 30 Jan 2006 03:09:32 +0000 (03:09 +0000)] 
Report bitmap offset when examining v1 superblock.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoWork towards allowing larger internal bitmaps in version1 superblocks.
Neil Brown [Mon, 30 Jan 2006 02:57:49 +0000 (02:57 +0000)] 
Work towards allowing larger internal bitmaps in version1 superblocks.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSupport --help --assemble etc.
Neil Brown [Mon, 30 Jan 2006 00:13:26 +0000 (00:13 +0000)] 
Support --help --assemble etc.

i.e. allow '--help' to be first and still give
context sensitive help.

Also don't print truncated device-size of very large arrays.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoHave --examine report reshape details.
Neil Brown [Fri, 27 Jan 2006 07:28:34 +0000 (07:28 +0000)] 
Have --examine report reshape details.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoProvide error message if --examine does find a valid superblock
Neil Brown [Fri, 27 Jan 2006 06:25:55 +0000 (06:25 +0000)] 
Provide error message if --examine does find a valid superblock

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoEnable support for v.large raid1.
Neil Brown [Fri, 27 Jan 2006 06:21:06 +0000 (06:21 +0000)] 
Enable support for v.large raid1.

clean up 'long long' usage for size of array, so that
with v-1 superblocks a raid1 larger than 2TB is possible.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFurther improvements to online help
Neil Brown [Mon, 17 Apr 2006 13:12:41 +0000 (13:12 +0000)] 
Further improvements to online help

diff .//ReadMe.c~current~ .//ReadMe.c

18 years agoMake some improvements to online help.
Neil Brown [Fri, 27 Jan 2006 05:53:10 +0000 (05:53 +0000)] 
Make some improvements to online help.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoMinor fixes
Neil Brown [Fri, 27 Jan 2006 04:48:28 +0000 (04:48 +0000)] 
Minor fixes

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAssorted fixes...
Neil Brown [Fri, 27 Jan 2006 01:44:47 +0000 (01:44 +0000)] 
Assorted fixes...

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agouhm.. assort fixes, particularly for recovery offset...
Neil Brown [Fri, 16 Dec 2005 01:34:49 +0000 (01:34 +0000)] 
uhm.. assort fixes, particularly for recovery offset...

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAllow /etc/mdadm/mdadm.conf as an alternate to /etc/mdadm.conf
Neil Brown [Fri, 9 Dec 2005 05:01:22 +0000 (05:01 +0000)] 
Allow /etc/mdadm/mdadm.conf as an alternate to /etc/mdadm.conf

This provide compatability with Debian.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoRelease 2.2 mdadm-2.2
Neil Brown [Fri, 9 Dec 2005 04:55:02 +0000 (04:55 +0000)] 
Release 2.2

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoGuides on how to use mdadm with initramfs
Neil Brown [Mon, 5 Dec 2005 05:56:42 +0000 (05:56 +0000)] 
Guides on how to use mdadm with initramfs

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSupport updating of uuid during --assemble.
Neil Brown [Mon, 5 Dec 2005 05:56:33 +0000 (05:56 +0000)] 
Support updating of uuid during --assemble.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAllow event counters to be off by one
Neil Brown [Mon, 5 Dec 2005 05:56:18 +0000 (05:56 +0000)] 
Allow event counters to be off by one

.. even without --force

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agosyslog support for monitor mode
Neil Brown [Mon, 5 Dec 2005 05:55:56 +0000 (05:55 +0000)] 
syslog support for monitor mode

From: ross@jose.lug.udel.edu (Ross Vandegrift)

Hi Neil,

While adding the text message mode, I saw a FIXME asking for syslog
support in monitor mode.

This patch adds exactly that.
Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoReport which device failed in a Fail message.
Neil Brown [Mon, 5 Dec 2005 05:54:59 +0000 (05:54 +0000)] 
Report which device failed in a Fail message.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSupport --assume-clean for --create
Neil Brown [Mon, 5 Dec 2005 05:54:48 +0000 (05:54 +0000)] 
Support --assume-clean for --create

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoImprove option parsing
Neil Brown [Mon, 5 Dec 2005 05:54:33 +0000 (05:54 +0000)] 
Improve option parsing

stuff

====Do Not Remove====
Status: ok
Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAllow scanning of devices listed in /proc/partitions independant of /dev
Neil Brown [Mon, 5 Dec 2005 05:52:50 +0000 (05:52 +0000)] 
Allow scanning of devices listed in /proc/partitions independant of /dev

If a device found in /proc/partitions isn't listed in /dev, then
mknod a temporary name and open that.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoRemvoe blank line from '--examine --brief' output.
Neil Brown [Tue, 22 Nov 2005 03:38:44 +0000 (03:38 +0000)] 
Remvoe blank line from '--examine --brief' output.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoSupport bitmaps with raid10
Neil Brown [Tue, 22 Nov 2005 03:37:14 +0000 (03:37 +0000)] 
Support bitmaps with raid10

And a couple of other little things

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoMake sure mdadm -S returns correct error code
Neil Brown [Fri, 21 Oct 2005 06:13:04 +0000 (06:13 +0000)] 
Make sure mdadm -S returns correct error code

If a bad file names was given, exit status still 0.
If some devices couldn't be stopped for "mdadm -Ss"
exit status still 0.

Thanks: Daniel Hottinger <hotti@google.com>

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoCreate version-4 bitmaps if kernel supports it.
Neil Brown [Tue, 11 Oct 2005 04:44:44 +0000 (04:44 +0000)] 
Create version-4 bitmaps if kernel supports it.

Version-3 bitmaps are host-endian.  Version-4 are little-endian
and so more portable.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd 'setup' option to 'test'
Neil Brown [Tue, 11 Oct 2005 04:10:00 +0000 (04:10 +0000)] 
Add 'setup' option to 'test'

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoJust some minor stuff... mdadm-2.1
Neil Brown [Tue, 11 Oct 2005 04:10:00 +0000 (04:10 +0000)] 
Just some minor stuff...

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoRelease 2-0
Neil Brown [Mon, 12 Sep 2005 07:12:07 +0000 (07:12 +0000)] 
Release 2-0

With little fix for -O2 compile

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoAdd tests/05r1-grow-internal-1
Neil Brown [Mon, 12 Sep 2005 05:53:25 +0000 (05:53 +0000)] 
Add tests/05r1-grow-internal-1

18 years agoRefine some tests.
Neil Brown [Mon, 12 Sep 2005 06:47:33 +0000 (06:47 +0000)] 
Refine some tests.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix byteordr covnerion ofr 'events' that was '32' instead of '64'
Neil Brown [Mon, 12 Sep 2005 05:54:52 +0000 (05:54 +0000)] 
Fix byteordr covnerion ofr 'events' that was '32' instead of '64'

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix remaining problems with hot-add bitmap to version-1 superblock
Neil Brown [Mon, 12 Sep 2005 05:24:10 +0000 (05:24 +0000)] 
Fix remaining problems with hot-add bitmap to version-1 superblock

Also some more tests - r5 and r6 bitmaps

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix assembling of array with spares when verion-1 superblock is used.
Neil Brown [Mon, 12 Sep 2005 05:23:11 +0000 (05:23 +0000)] 
Fix assembling of array with spares when verion-1 superblock is used.

As spared don't have a position in the raid array with verion-1 superblocks,
we need to handle them a bit differently.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoFix assembling of raid10 in the face of missing devices.
Neil Brown [Mon, 12 Sep 2005 04:57:52 +0000 (04:57 +0000)] 
Fix assembling of raid10 in the face of missing devices.

We now check if enough devices are present properly, so
--force can be used to good effect.

Signed-off-by: Neil Brown <neilb@suse.de>
18 years agoRelease!! mdadm-2.0
Neil Brown [Fri, 26 Aug 2005 06:37:33 +0000 (06:37 +0000)] 
Release!!

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>