Neil Brown
5dd497eecb
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>
2006-01-27 06:21:06 +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
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
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
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
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
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
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
bd72c2b2b8
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>
2005-06-14 06:34:29 +00:00
Neil Brown
22892d5632
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>
2005-06-14 06:34:23 +00:00
Neil Brown
1337546dc1
Allow --auto to still be meaningful when --scan is given
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-14 06:33:02 +00:00
Neil Brown
91f068bf5c
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>
2005-06-14 06:32:18 +00:00
Neil Brown
6fbba4c929
Stuff
...
Description...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2006-04-17 23:42:52 +00:00
Neil Brown
e4c4352e49
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>
2005-06-07 23:03:45 +00:00
Neil Brown
ea32955930
Increase max-devs on type-1 superblocks
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-07 23:03:46 +00:00
Neil Brown
f5e166fee3
Support --grow --bitmap=internal
...
Adding a filebased bitmap is not yet supported, and
this code is still under development.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-07 23:03:46 +00:00
Neil Brown
55935d5180
Add support for internal bitmaps
...
For version 0.90 superblocks, an internal bitmap can be specified at create.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-07 23:03:47 +00:00
Neil Brown
dfe47e008e
Make sure to seed the random number generator for uuids
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-07 23:03:48 +00:00
Neil Brown
c82f047cfc
Initial bitmap support
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-07 23:16:35 +00:00
Neil Brown
a825febc06
A couple off minor fixed in multi-format management.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-06-07 23:16:36 +00:00
Neil Brown
82d9eba687
super1
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Fix raid5 creation with new code.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-05-03 23:44:40 +00:00
Neil Brown
f9ce90ba50
Add a 'super-switch' so that different format superblocks can be used.
...
This includes:
adding --metadata= option to choose metadata format
adding metadata= word to config file.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-05-03 23:44:32 +00:00
Neil Brown
0320ea4565
Change handling of devices names in args
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:18:57 +00:00
Neil Brown
e6b64cd05c
Improve error message when mode is set twice.
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:29 +00:00
Neil Brown
d17c1f8cbd
Reverse order of arrays when --stop --scan
...
so that stacked arrays are stopped properly.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:24 +00:00
Neil Brown
43fc16763d
Add some missing closes of mdfd
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:18 +00:00
Neil Brown
0df46c2ad8
Change MAJOR() etc to major() etc
...
This allows for larger device number if glibc supports
it (requires 2.3.3).
Also fail before creating larger device number if glibc
support isn't present.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:13 +00:00
Neil Brown
8d80900b49
When assembling with --auto, honour common device names
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:10 +00:00
Neil Brown
a75f2fbcf2
Fix some initialisations of ident
...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
2005-04-04 05:16:04 +00:00
Neil Brown
b5e6464503
mdadm-1.8.0
2004-11-01 04:49:34 +00:00
Neil Brown
e5329c3747
mdadm-1.7.0
2004-08-11 02:16:01 +00:00
Neil Brown
dd0781e505
mdadm-1.6.0
2004-06-04 12:03:19 +00:00
Neil Brown
98c6faba80
mdadm-1.5.0
2004-01-22 02:10:29 +00:00
Neil Brown
feb716e9c3
mdadm-1.4.0
2003-10-28 23:20:01 +00:00
Neil Brown
aa88f531b4
mdadm-1.3.0
2003-07-28 23:59:00 +00:00
Neil Brown
56eedc1a3f
mdadm-1.2.0
2003-03-12 22:24:39 +00:00
Neil Brown
d013a55e94
mdadm-1.1.0
2003-03-02 23:11:38 +00:00
Neil Brown
5787fa4906
mdadm-1.0.9
2003-02-12 00:17:26 +00:00
Neil Brown
bd526cee92
mdadm-1.0.1
2002-05-20 11:17:18 +00:00
Neil Brown
2d46552003
mdadm-1.0.0
2002-05-10 04:06:19 +00:00
Neil Brown
b83d95f362
mdadm-0.8.2
2002-04-11 01:36:14 +00:00
Neil Brown
c913b90e6d
mdadm-0.8.1
2002-04-05 22:00:28 +00:00
Neil Brown
e0d1903663
mdadm-0.8
2002-04-04 01:58:32 +00:00
Neil Brown
56eb10c0b6
mdadm-0.7.1
2002-03-15 05:21:36 +00:00
Neil Brown
9a9dab3670
mdadm-0.7
2002-03-08 00:03:52 +00:00