summaryrefslogtreecommitdiffstats
path: root/mdadm.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Support --help --assemble etc.Neil Brown2006-01-301-14/+22
| | | | | | | | | 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>
* Enable support for v.large raid1.Neil Brown2006-01-271-2/+2
| | | | | | | 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>
* Support updating of uuid during --assemble.Neil Brown2005-12-051-1/+3
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* syslog support for monitor modeNeil Brown2005-12-051-1/+7
| | | | | | | | | | | | 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>
* Support --assume-clean for --createNeil Brown2005-12-051-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Improve option parsingNeil Brown2005-12-051-7/+17
| | | | | | | | stuff ====Do Not Remove==== Status: ok Signed-off-by: Neil Brown <neilb@suse.de>
* Support bitmaps with raid10Neil Brown2005-11-221-1/+1
| | | | | | And a couple of other little things Signed-off-by: Neil Brown <neilb@suse.de>
* Make sure mdadm -S returns correct error codeNeil Brown2005-10-211-1/+3
| | | | | | | | | | 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>
* Assorted fixesNeil Brown2005-08-161-10/+9
| | | | | | | | | 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>
* Add 'quite' option and tidy up some tests.Neil Brown2005-08-151-8/+12
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support nameing of version-1 arrays.Neil Brown2005-08-091-2/+18
| | | | | | | --name is recognised in --create and --assemble name= is recognised in config file. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add write-behind supportNeil Brown2005-08-091-5/+40
| | | | | | | | 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>
* Support fixing of byte-swapped superblocks.Neil Brown2005-08-091-0/+14
| | | | | | | Good for moving between little-endian and big-endian. Still needs documentation. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Allow --force flag with --growNeil Brown2005-06-141-0/+1
| | | | | | .. so that you can 'grow' a raid1 to only one device. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Don't list device= in --examine --scan output.Neil Brown2005-06-141-4/+4
| | | | | | | 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>
* Allow --auto to still be meaningful when --scan is givenNeil Brown2005-06-141-3/+6
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Retry --stop --scan until all stoppable devices have been stoppedNeil Brown2005-06-141-22/+37
| | | | | | This is needed to reliably stop stacked arrays Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* StuffNeil Brown2006-04-171-4/+4
| | | | | | Description... Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Move the test for validity of raid_disk later.Neil Brown2005-06-071-8/+22
| | | | | | | | 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>
* Increase max-devs on type-1 superblocksNeil Brown2005-06-071-2/+4
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support --grow --bitmap=internalNeil Brown2005-06-071-4/+12
| | | | | | | 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>
* Add support for internal bitmapsNeil Brown2005-06-071-2/+10
| | | | | | For version 0.90 superblocks, an internal bitmap can be specified at create. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Make sure to seed the random number generator for uuidsNeil Brown2005-06-071-0/+2
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Initial bitmap supportNeil Brown2005-06-071-3/+69
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* A couple off minor fixed in multi-format management.Neil Brown2005-06-071-0/+1
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* super1Neil Brown2005-05-031-12/+7
| | | | | | | 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>
* Add a 'super-switch' so that different format superblocks can be used.Neil Brown2005-05-031-6/+37
| | | | | | | | 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>
* Change handling of devices names in argsNeil Brown2005-04-041-4/+33
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Improve error message when mode is set twice.Neil Brown2005-04-041-1/+1
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Reverse order of arrays when --stop --scanNeil Brown2005-04-041-0/+10
| | | | | so that stacked arrays are stopped properly. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add some missing closes of mdfdNeil Brown2005-04-041-7/+13
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Change MAJOR() etc to major() etcNeil Brown2005-04-041-1/+1
| | | | | | | | | 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>
* When assembling with --auto, honour common device namesNeil Brown2005-04-041-3/+12
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Fix some initialisations of identNeil Brown2005-04-041-0/+2
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* mdadm-1.8.0mdadm-1.8.0Neil Brown2004-11-011-181/+59
|
* mdadm-1.7.0mdadm-1.7.0Neil Brown2004-08-111-10/+43
|
* mdadm-1.6.0mdadm-1.6.0Neil Brown2004-06-041-25/+241
|
* mdadm-1.5.0mdadm-1.5.0Neil Brown2004-01-221-14/+18
|
* mdadm-1.4.0mdadm-1.4.0Neil Brown2003-10-281-3/+9
|
* mdadm-1.3.0mdadm-1.3.0Neil Brown2003-07-281-2/+12
|
* mdadm-1.2.0mdadm-1.2.0Neil Brown2003-03-121-8/+12
|
* mdadm-1.1.0mdadm-1.1.0Neil Brown2003-03-021-9/+39
|
* mdadm-1.0.9mdadm-1.0.9Neil Brown2003-02-121-12/+23
|
* mdadm-1.0.1mdadm-1.0.1Neil Brown2002-05-201-1/+16
|
* mdadm-1.0.0mdadm-1.0.0Neil Brown2002-05-101-0/+1
|
* mdadm-0.8.2mdadm-0.8.2Neil Brown2002-04-111-7/+7
|
* mdadm-0.8.1mdadm-0.8.1Neil Brown2002-04-051-1/+1
|
* mdadm-0.8mdadm-0.8Neil Brown2002-04-041-110/+228
|
* mdadm-0.7.1mdadm-0.7.1Neil Brown2002-03-151-1/+1
|
* mdadm-0.7mdadm-0.7Neil Brown2002-03-081-0/+545