thirdparty/mdadm.git
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
14 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>
14 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>
14 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>
14 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>
14 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>
13 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 years agoAdd tests/05r1-internalbitmap-v1c
Neil Brown [Thu, 25 Aug 2005 07:17:44 +0000 (07:17 +0000)] 
Add tests/05r1-internalbitmap-v1c

14 years agoAdd tests/05r1-internalbitmap-v1b
Neil Brown [Thu, 25 Aug 2005 07:15:52 +0000 (07:15 +0000)] 
Add tests/05r1-internalbitmap-v1b

14 years agoAdd tests/05r1-internalbitmap-v1a
Neil Brown [Fri, 26 Aug 2005 04:08:16 +0000 (04:08 +0000)] 
Add tests/05r1-internalbitmap-v1a

14 years agoPasses all tests, nearly ready for release.
Neil Brown [Fri, 26 Aug 2005 06:08:28 +0000 (06:08 +0000)] 
Passes all tests, nearly ready for release.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoGetting ready for 2.0 release...
Neil Brown [Fri, 26 Aug 2005 02:26:37 +0000 (02:26 +0000)] 
Getting ready for 2.0 release...

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoremove ANNOUNCE-2.0-devel-?
Neil Brown [Thu, 25 Aug 2005 05:26:57 +0000 (05:26 +0000)] 
remove ANNOUNCE-2.0-devel-?

14 years agoremove ANNOUNCE-1*
Neil Brown [Thu, 25 Aug 2005 05:26:57 +0000 (05:26 +0000)] 
remove ANNOUNCE-1*

14 years agoAdd raid10 doco to mdadm.8
Neil Brown [Thu, 25 Aug 2005 05:26:57 +0000 (05:26 +0000)] 
Add raid10 doco to mdadm.8

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoLots of little manpage updates.
Neil Brown [Thu, 25 Aug 2005 05:11:29 +0000 (05:11 +0000)] 
Lots of little manpage updates.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd RAID10 and other stuff to md.4
Neil Brown [Thu, 25 Aug 2005 05:09:25 +0000 (05:09 +0000)] 
Add RAID10 and other stuff to md.4

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoSupport internal bitmaps with format-1 superblocks.
Neil Brown [Thu, 25 Aug 2005 04:31:44 +0000 (04:31 +0000)] 
Support internal bitmaps with format-1 superblocks.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoCheck-in swap_super.c
Neil Brown [Thu, 18 Aug 2005 06:02:33 +0000 (06:02 +0000)] 
Check-in swap_super.c

and update a test that uses it.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoSupport cross-compiling in Makefile
Neil Brown [Thu, 18 Aug 2005 04:28:10 +0000 (04:28 +0000)] 
Support cross-compiling in Makefile

Thanks to "Anthony Russello" <russello@iomega.com>

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoPrint descriptive level when warning about pre-existing arrays.
Neil Brown [Thu, 18 Aug 2005 04:25:35 +0000 (04:25 +0000)] 
Print descriptive level when warning about pre-existing arrays.

Use map_num to get the name, so 'linear' doens't appear as '-1'.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix bug on new --detail code
Neil Brown [Tue, 16 Aug 2005 07:11:15 +0000 (07:11 +0000)] 
Fix bug on new --detail code

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd test for multipath and make it work.
Neil Brown [Tue, 16 Aug 2005 07:00:22 +0000 (07:00 +0000)] 
Add test for multipath and make it work.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAssorted fixes
Neil Brown [Tue, 16 Aug 2005 06:45:23 +0000 (06:45 +0000)] 
Assorted fixes

Support "--build"ing arrays with bitmaps.
hot-removal of bitmaps
--re-add of drives recently removed.
assorted extra tests

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix --detail output for version 1 superblocks.
Neil Brown [Mon, 15 Aug 2005 06:54:20 +0000 (06:54 +0000)] 
Fix --detail output for version 1 superblocks.

As raid_disk no longer matches number, we do things differently.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix but when assembling v1 arrays
Neil Brown [Mon, 15 Aug 2005 06:35:38 +0000 (06:35 +0000)] 
Fix but when assembling v1 arrays

Because raid_disk and disk.number are not longer in-sync,
it needed some work.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd 'quite' option and tidy up some tests.
Neil Brown [Mon, 15 Aug 2005 06:14:27 +0000 (06:14 +0000)] 
Add 'quite' option and tidy up some tests.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd a test.
Neil Brown [Mon, 15 Aug 2005 04:44:04 +0000 (04:44 +0000)] 
Add a test.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoSupport nameing of version-1 arrays.
Neil Brown [Tue, 9 Aug 2005 05:23:20 +0000 (05:23 +0000)] 
Support nameing of version-1 arrays.

--name is recognised in --create and --assemble
name= is recognised in config file.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd write-behind support
Neil Brown [Tue, 9 Aug 2005 04:25:47 +0000 (04:25 +0000)] 
Add write-behind support

Currently this includes
  --write-behind  to set level of write-behind supported
  --write-mostly  to flag devices as write-mostly.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoSupport fixing of byte-swapped superblocks.
Neil Brown [Tue, 9 Aug 2005 04:25:27 +0000 (04:25 +0000)] 
Support fixing of byte-swapped superblocks.

Good for moving between little-endian and big-endian.
Still needs documentation.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd ANNOUNCE-2.0-devel-3 mdadm-2.0-devel-3
Neil Brown [Thu, 4 Aug 2005 04:54:42 +0000 (04:54 +0000)] 
Add ANNOUNCE-2.0-devel-3

14 years agoAdd ANNOUNCE to inventory
Neil Brown [Tue, 9 Aug 2005 04:25:27 +0000 (04:25 +0000)] 
Add ANNOUNCE to inventory

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd test suite and release
Neil Brown [Thu, 4 Aug 2005 04:56:22 +0000 (04:56 +0000)] 
Add test suite and release

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAssorted Fixes for multiple bugs.
Neil Brown [Thu, 4 Aug 2005 04:41:12 +0000 (04:41 +0000)] 
Assorted Fixes for multiple bugs.

Assemble would crash, or just not work.
A few other problem found by a new test-suite.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoRedhat 6.2 seems to require sys/time.h as well as time.h
Neil Brown [Fri, 29 Jul 2005 00:20:37 +0000 (00:20 +0000)] 
Redhat 6.2 seems to require sys/time.h as well as time.h

Thanks to  "Pieter D.J. Krul" <p at krul.cc>

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoDon't for a chunk-size when "build"ing a raid1
Neil Brown [Fri, 29 Jul 2005 00:20:11 +0000 (00:20 +0000)] 
Don't for a chunk-size when "build"ing a raid1

as raid1 doesn't need chunksize

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoMake hot-add work with v 1.0.1 superblocks
Neil Brown [Fri, 29 Jul 2005 00:19:25 +0000 (00:19 +0000)] 
Make hot-add work with v 1.0.1 superblocks

Just some carelessness

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoDocument this...
Neil Brown [Mon, 18 Jul 2005 01:30:42 +0000 (01:30 +0000)] 
Document this...

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd ANNOUNCE-2.0-devel-2 mdadm-2.0-devel-2
Neil Brown [Wed, 6 Jul 2005 23:28:35 +0000 (23:28 +0000)] 
Add ANNOUNCE-2.0-devel-2

14 years agoRelease devel-2
Neil Brown [Fri, 15 Jul 2005 00:13:21 +0000 (00:13 +0000)] 
Release devel-2

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoMake sure we try hard enough to find a component device..
Neil Brown [Wed, 6 Jul 2005 23:12:04 +0000 (23:12 +0000)] 
Make sure we try hard enough to find a component device..

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix compiling of mdassemble
Neil Brown [Tue, 14 Jun 2005 06:49:05 +0000 (06:49 +0000)] 
Fix compiling of mdassemble

(again).

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix compilation with tinyc
Neil Brown [Tue, 14 Jun 2005 06:43:00 +0000 (06:43 +0000)] 
Fix compilation with tinyc

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd man page for mdassemble
Neil Brown [Tue, 14 Jun 2005 06:42:25 +0000 (06:42 +0000)] 
Add man page for mdassemble

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoReplace sprintf calls with snprintf
Neil Brown [Tue, 14 Jun 2005 06:42:13 +0000 (06:42 +0000)] 
Replace sprintf calls with snprintf

To quiet diet-libc

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAdd device files created with --auto to list of known device files.
Neil Brown [Tue, 14 Jun 2005 06:37:57 +0000 (06:37 +0000)] 
Add device files created with --auto to list of known device files.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAllow --force flag with --grow
Neil Brown [Tue, 14 Jun 2005 06:34:29 +0000 (06:34 +0000)] 
Allow --force flag with --grow

.. so that you can 'grow' a raid1 to only one device.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoDon't list device= in --examine --scan output.
Neil Brown [Tue, 14 Jun 2005 06:34:23 +0000 (06:34 +0000)] 
Don't list device= in --examine --scan output.

As the device list isn't stable, recording it should be avoided.
The device= list is still available if --verbose is given (once).

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoWhen finding a /dev name for a device, prefer shorter names
Neil Brown [Tue, 14 Jun 2005 06:33:56 +0000 (06:33 +0000)] 
When finding a /dev name for a device, prefer shorter names

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix silly example
Neil Brown [Tue, 14 Jun 2005 06:33:45 +0000 (06:33 +0000)] 
Fix silly example

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix some rounding errors in human_size and generally clean up the code
Neil Brown [Tue, 14 Jun 2005 06:33:30 +0000 (06:33 +0000)] 
Fix some rounding errors in human_size and generally clean up the code

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix parsing of /dev/md/N in is_standard
Neil Brown [Tue, 14 Jun 2005 06:33:24 +0000 (06:33 +0000)] 
Fix parsing of /dev/md/N in is_standard

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix a few typecasts
Neil Brown [Tue, 14 Jun 2005 06:33:16 +0000 (06:33 +0000)] 
Fix a few typecasts

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAllow --auto to still be meaningful when --scan is given
Neil Brown [Tue, 14 Jun 2005 06:33:02 +0000 (06:33 +0000)] 
Allow --auto to still be meaningful when --scan is given

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoInitialise mis.next to NULL
Neil Brown [Tue, 14 Jun 2005 06:32:52 +0000 (06:32 +0000)] 
Initialise mis.next to NULL

Probably not needed, but safer.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFix typo in --grow --help - don't claim '-F'
Neil Brown [Tue, 14 Jun 2005 06:32:42 +0000 (06:32 +0000)] 
Fix typo in --grow --help - don't claim '-F'

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoMake type of uuid always int[], rather than sometimes __u32[]
Neil Brown [Tue, 14 Jun 2005 06:32:34 +0000 (06:32 +0000)] 
Make type of uuid always int[], rather than sometimes __u32[]

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoRetry --stop --scan until all stoppable devices have been stopped
Neil Brown [Tue, 14 Jun 2005 06:32:18 +0000 (06:32 +0000)] 
Retry --stop --scan until all stoppable devices have been stopped

This is needed to reliably stop stacked arrays

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoDocument SparesMissing and DeviceDisappeared/WrongLevel
Neil Brown [Tue, 14 Jun 2005 06:31:34 +0000 (06:31 +0000)] 
Document SparesMissing and DeviceDisappeared/WrongLevel

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoDocument --size=max option for --grow
Neil Brown [Tue, 14 Jun 2005 06:31:19 +0000 (06:31 +0000)] 
Document --size=max option for --grow

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoAvoid using lstat, it isn't right.
Neil Brown [Tue, 14 Jun 2005 06:30:03 +0000 (06:30 +0000)] 
Avoid using lstat, it isn't right.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoFrom paul.clements@steeleye.com Thu May 19 11:09:55 2005
Neil Brown [Tue, 14 Jun 2005 06:29:20 +0000 (06:29 +0000)] 
From paul.clements@steeleye.com Thu May 19 11:09:55 2005
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
["2589" "Wednesday" "18" "May" "2005" "21:09:47" "-0400" "Paul Clements" "paul.clements@steeleye.com" nil "93" "[PATCH 1/1] mdadm 2.0 devel: fix bitmap size calculation and allow \"missing\" device in Build command" "^From:" "neilb@cse.unsw.edu.au" "neilb@cse.unsw.edu.au" "5" nil nil nil nil nil nil nil nil nil]
nil)
Return-Path: <paul.clements@steeleye.com>
Received: From
smtp-dist.unsw.edu.au ([149.171.97.16] == smtp-dist-01.services.comms.unsw.EDU.AU)
(for <neilb@cse.unsw.edu.au>) By note With Smtp ;
Thu, 19 May 2005 11:09:55 +1000
Received: from localhost (avspam-03.services.comms.unsw.edu.au [149.171.100.18])
by smtp-dist.unsw.edu.au (8.13.1/8.13.1) with ESMTP id j4J19t05017496
for <VRT+EFNJ=JQ=cse.unsw.edu.au=neilb@cse.unsw.edu.au>; Thu, 19 May 2005 11:09:55 +1000 (EST)
Received: from note.orchestra.cse.unsw.EDU.AU (note.orchestra.cse.unsw.EDU.AU [129.94.242.24])
by smtp.unsw.edu.au (8.13.1/8.13.1) with ESMTP id j4J19qEL010258
for <VRT+EFNJ=JQ=cse.unsw.edu.au=neilb@cse.unsw.edu.au>; Thu, 19 May 2005 11:09:53 +1000 (EST)
Received: From hancock.sc.steeleye.com ([209.192.50.48] == stat16.steeleye.com)
(for <neilb@cse.unsw.edu.au>) By note With Smtp ;
Thu, 19 May 2005 11:09:52 +1000
Received: from steeleye.com (clements.sc.steeleye.com [172.17.6.4])
by hancock.sc.steeleye.com (8.11.6/8.11.6) with ESMTP id j4J19lA29968
for <neilb@cse.unsw.edu.au>; Wed, 18 May 2005 21:09:48 -0400
Message-ID: <428BE75B.20803@steeleye.com>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040208)
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <428A496D.6000303@steeleye.com>
In-Reply-To: <428A496D.6000303@steeleye.com>
From: Paul Clements <paul.clements@steeleye.com>
To: neilb@cse.unsw.edu.au
Subject: [PATCH 1/1] mdadm 2.0 devel: fix bitmap size calculation and allow
 "missing" device in Build command
Date: Wed, 18 May 2005 21:09:47 -0400
Content-Type: multipart/mixed;
 boundary="------------090601020206040308050709"

This is a multi-part message in MIME format.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
13 years agoStuff
Neil Brown [Mon, 17 Apr 2006 23:42:52 +0000 (23:42 +0000)] 
Stuff

Description...

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
13 years agoStuff mdadm-2.0-devel-1
Neil Brown [Mon, 17 Apr 2006 23:42:52 +0000 (23:42 +0000)] 
Stuff

Description...

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoMake '-x nnn' spares work for type-1 superblocks.
Neil Brown [Tue, 7 Jun 2005 23:03:45 +0000 (23:03 +0000)] 
Make '-x nnn' spares work for type-1 superblocks.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
14 years agoMove the test for validity of raid_disk later.
Neil Brown [Tue, 7 Jun 2005 23:03:45 +0000 (23:03 +0000)] 
Move the test for validity of raid_disk later.

This allows the check to be done after we know what
metadata format is being used, and so the max number of raiddisks
is known.

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