Neil Brown
0ff1a18562
Guides on how to use mdadm with initramfs
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:56:42 +00:00
Neil Brown
7d99579f6a
Support updating of uuid during --assemble.
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:56:33 +00:00
Neil Brown
ee04451c56
Allow event counters to be off by one
...
.. even without --force
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:56:18 +00:00
Neil Brown
773135f5bd
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>
2005-12-05 05:55:56 +00:00
Neil Brown
fe394e5e42
Report which device failed in a Fail message.
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:54:59 +00:00
Neil Brown
47d79ef8e5
Support --assume-clean for --create
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:54:48 +00:00
Neil Brown
c06487ce20
Improve option parsing
...
stuff
====Do Not Remove====
Status: ok
Signed-off-by: Neil Brown <neilb@suse.de>
2005-12-05 05:54:33 +00:00
Neil Brown
8b0dabea07
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>
2005-12-05 05:52:50 +00:00
Neil Brown
d9d4e4698f
Remvoe blank line from '--examine --brief' output.
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-11-22 03:38:44 +00:00
Neil Brown
f9c25f1d2a
Support bitmaps with raid10
...
And a couple of other little things
Signed-off-by: Neil Brown <neilb@suse.de>
2005-11-22 03:37:14 +00:00
Neil Brown
7f48e21079
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>
2005-10-21 06:13:04 +00:00
Neil Brown
dcec9ee547
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>
2005-10-11 04:44:44 +00:00
Neil Brown
5a6d7f456a
Add 'setup' option to 'test'
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-10-11 04:10:00 +00:00
Neil Brown
296679da5a
Just some minor stuff...
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-10-11 04:10:00 +00:00
Neil Brown
e478dc86ed
Release 2-0
...
With little fix for -O2 compile
Signed-off-by: Neil Brown <neilb@suse.de>
2005-09-12 07:12:07 +00:00
Neil Brown
c929c82e7f
Add tests/05r1-grow-internal-1
2005-09-12 05:53:25 +00:00
Neil Brown
0ba1565f10
Refine some tests.
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-09-12 06:47:33 +00:00
Neil Brown
6d3d580468
Fix byteordr covnerion ofr 'events' that was '32' instead of '64'
...
Signed-off-by: Neil Brown <neilb@suse.de>
2005-09-12 05:54:52 +00:00
Neil Brown
f6d75de8e0
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>
2005-09-12 05:24:10 +00:00
Neil Brown
308e1801ba
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>
2005-09-12 05:23:11 +00:00
Neil Brown
265e0f1731
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>
2005-09-12 04:57:52 +00:00
Neil Brown
63f8c4c76b
Release!!
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-26 06:37:33 +00:00
Neil Brown
04deddb9fc
Add tests/05r1-internalbitmap-v1c
2005-08-25 07:17:44 +00:00
Neil Brown
6726d39d1f
Add tests/05r1-internalbitmap-v1b
2005-08-25 07:15:52 +00:00
Neil Brown
3ddc317ee9
Add tests/05r1-internalbitmap-v1a
2005-08-26 04:08:16 +00:00
Neil Brown
1bf4e2d962
Passes all tests, nearly ready for release.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-26 06:08:28 +00:00
Neil Brown
8431b2b286
Getting ready for 2.0 release...
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-26 02:26:37 +00:00
Neil Brown
34355de9ca
remove ANNOUNCE-2.0-devel-?
2005-08-25 05:26:57 +00:00
Neil Brown
edc1903518
remove ANNOUNCE-1*
2005-08-25 05:26:57 +00:00
Neil Brown
1a7dfc3550
Add raid10 doco to mdadm.8
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-25 05:26:57 +00:00
Neil Brown
a9d69660a3
Lots of little manpage updates.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-25 05:11:29 +00:00
Neil Brown
599e5a360b
Add RAID10 and other stuff to md.4
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-25 05:09:25 +00:00
Neil Brown
34163fc7cf
Support internal bitmaps with format-1 superblocks.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-25 04:31:44 +00:00
Neil Brown
eb3b43aa2a
Check-in swap_super.c
...
and update a test that uses it.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-18 06:02:33 +00:00
Neil Brown
c9fae71049
Support cross-compiling in Makefile
...
Thanks to "Anthony Russello" <russello@iomega.com>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-18 04:28:10 +00:00
Neil Brown
d078d77c28
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>
2005-08-18 04:25:35 +00:00
Neil Brown
67687afe7a
Fix bug on new --detail code
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-16 07:11:15 +00:00
Neil Brown
c13c45e913
Add test for multipath and make it work.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-16 07:00:22 +00:00
Neil Brown
fe80f49b6e
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>
2005-08-16 06:45:23 +00:00
Neil Brown
b0c63f3203
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>
2005-08-15 06:54:20 +00:00
Neil Brown
6a41304b05
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>
2005-08-15 06:35:38 +00:00
Neil Brown
dab6685f3d
Add 'quite' option and tidy up some tests.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-15 06:14:27 +00:00
Neil Brown
7358e19667
Add a test.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-15 04:44:04 +00:00
Neil Brown
947fd4ddb5
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>
2005-08-09 05:23:20 +00:00
Neil Brown
dfd4d8ee42
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>
2005-08-09 04:25:47 +00:00
Neil Brown
586ed40547
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>
2005-08-09 04:25:27 +00:00
Neil Brown
8068890f11
Add ANNOUNCE-2.0-devel-3
2005-08-04 04:54:42 +00:00
Neil Brown
7c4990ede7
Add ANNOUNCE to inventory
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-09 04:25:27 +00:00
Neil Brown
5e7519fa84
Add test suite and release
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-08-04 04:56:22 +00:00
Neil Brown
f277ce3671
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>
2005-08-04 04:41:12 +00:00