summaryrefslogtreecommitdiffstats
path: root/Create.c
Commit message (Collapse)AuthorAgeFilesLines
* Kill old superblocks on create.Neil Brown2006-03-281-0/+2
| | | | | | | 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>
* Prefer version-1 superblocks for v.large devices.Neil Brown2006-01-311-0/+21
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Enable support for v.large raid1.Neil Brown2006-01-271-10/+10
| | | | | | | 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>
* Minor fixesNeil Brown2006-01-271-0/+2
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Assorted fixes...Neil Brown2006-01-271-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* uhm.. assort fixes, particularly for recovery offset...Neil Brown2005-12-161-0/+4
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support --assume-clean for --createNeil Brown2005-12-051-2/+4
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support bitmaps with raid10Neil Brown2005-11-221-2/+14
| | | | | | And a couple of other little things Signed-off-by: Neil Brown <neilb@suse.de>
* Create version-4 bitmaps if kernel supports it.Neil Brown2005-10-111-5/+15
| | | | | | | Version-3 bitmaps are host-endian. Version-4 are little-endian and so more portable. Signed-off-by: Neil Brown <neilb@suse.de>
* Passes all tests, nearly ready for release.Neil Brown2005-08-261-3/+3
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support internal bitmaps with format-1 superblocks.Neil Brown2005-08-251-3/+3
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add test for multipath and make it work.Neil Brown2005-08-161-1/+1
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add 'quite' option and tidy up some tests.Neil Brown2005-08-151-13/+17
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support nameing of version-1 arrays.Neil Brown2005-08-091-1/+2
| | | | | | | --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/+10
| | | | | | | | 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>
* Retry --stop --scan until all stoppable devices have been stoppedNeil Brown2005-06-141-1/+1
| | | | | | This is needed to reliably stop stacked arrays Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Make --zero-superblock work for version 1 superblocks.Neil Brown2005-06-071-1/+1
| | | | | | This requires passing the supertype to store_super Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add support for internal bitmapsNeil Brown2005-06-071-1/+20
| | | | | | For version 0.90 superblocks, an internal bitmap can be specified at create. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Fix create bug which initialised superblocks wrongly.Neil Brown2005-06-071-1/+1
| | | | | | Description... Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Initial bitmap supportNeil Brown2005-06-071-1/+23
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Release 1.8.1 after some man page updates and other fixes.mdadm-1.11.1Neil Brown2005-06-071-2/+2
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* super1Neil Brown2005-05-031-19/+28
| | | | | | | 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-4/+4
| | | | | | | | 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>
* Separate sueprblock handling into separate fileNeil Brown2005-05-031-37/+58
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Use O_EXCL when opening component devices to be assembled into an arrayNeil Brown2005-04-041-2/+2
| | | | | | | In 2.6, this will fail if the device is already in use, so we can detect this error more easily. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Change MAJOR() etc to major() etcNeil Brown2005-04-041-3/+3
| | | | | | | | | 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>
* mdadm-1.8.0mdadm-1.8.0Neil Brown2004-11-011-12/+39
|
* mdadm-1.7.0mdadm-1.7.0Neil Brown2004-08-111-0/+15
|
* mdadm-1.6.0mdadm-1.6.0Neil Brown2004-06-041-1/+2
|
* mdadm-1.5.0mdadm-1.5.0Neil Brown2004-01-221-10/+31
|
* mdadm-1.3.0mdadm-1.3.0Neil Brown2003-07-281-11/+25
|
* mdadm-1.0.0mdadm-1.0.0Neil Brown2002-05-101-13/+8
|
* mdadm-0.8.2mdadm-0.8.2Neil Brown2002-04-111-5/+5
|
* mdadm-0.8.1mdadm-0.8.1Neil Brown2002-04-051-9/+10
|
* mdadm-0.8mdadm-0.8Neil Brown2002-04-041-1/+1
|
* mdadm-0.7.1mdadm-0.7.1Neil Brown2002-03-151-1/+1
|
* mdadm-0.7mdadm-0.7Neil Brown2002-03-081-2/+2
|
* mdctl-0.6mdctl-0.6Neil Brown2002-03-061-18/+20
|
* mdctl-0.5mdctl-0.5Neil Brown2001-08-231-80/+119
|
* mdctl-v0.4.1mdctl-v0.4.1Neil Brown2001-07-261-0/+10
|
* mdctl-v0.4mdctl-v0.4Neil Brown2001-07-261-9/+44
|
* mdctl-v0.3mdctl-v0.3Neil Brown2001-06-141-2/+209
|
* mdctl-v0.2mdctl-v0.2Neil Brown2001-06-081-0/+37