summaryrefslogtreecommitdiffstats
path: root/ReadMe.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://github.com/djbw/mdadmNeilBrown2010-07-061-0/+2
|\
| * Rename subarray v2Dan Williams2010-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the name of the array stored in the metadata to be updated. In some cases the metadata format may not be able to support this rename without modifying the UUID. In these cases the request will be blocked. Otherwise we allow the rename to take place, even for active arrays. This assumes that the user understands the difference between the kernel node name, the device node symlink name, and the metadata specific name. Anticipating further need to modify subarrays in-place, introduce the ->update_subarray() superswitch method. A future potential use case is setting storage pool (spare-group) identifiers. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
| * Kill subarray v2Dan Williams2010-06-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for deleting a subarray out of a container. When all subarrays are deleted the component devices are converted back into spares, a --zero-superblock is still needed to kill the remaining metadata at this point. This operation is blocked when the subarray is active and may also be blocked by the metadata handler when deleting the subarray might change the uuid of other active subarrays. For example, with imsm, deleting subarray 'n' may change the uuid of subarrays with indexes > n. Deleting a subarray needs to be a container wide event to ensure disks that record the modified subarray list perceive other disks that did not receive this change as out of date. Notes: The st->subarray parsing in super-intel.c and super-ddf.c is updated to be more strict now that we are reading user supplied subarray values. Offline container modification shares actions that mdmon typically handles so promote is_container_member() and version_to_superswitch() (formerly find_metadata_methods()) to generic utility functions for the cases where mdadm performs the operation. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* | Add -fail support to --incrementalNeilBrown2010-06-301-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | This can be used for hot-unplug. When a device has been remove, udev can call mdadm --incremental --fail sda and mdadm will find the array holding sda and remove sda from the array. Based on code from Doug Ledford <dledford@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
* | Correct documentation for --rebuild-mapNeilBrown2010-06-301-7/+7
|/ | | | | | | | | | In some places it is referred to as "--rebuild", and while that works due to getopt allowing prefixes, it could appear confusing (rebuild means other things too) and being explicit is some safeguard if we want to add e.g. --rebuild-foo later. Reported-by: Doug Ledford <dledford@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
* Release mdadm-3.1.2NeilBrown2010-03-101-2/+2
|
* mdadm-3.1.1 segfaults when mdadm -G -Z is used.Luca Berra2010-02-011-3/+3
| | | | | Signed-off-by: Luca Berra <bluca@vodka.it> Signed-off-by: NeilBrown <neilb@suse.de>
* Correctly parse -N command line option.NeilBrown2010-01-281-3/+3
| | | | | | | | 'N' wasn't listed in the sort options, so you had to use --name :-) Resolved-Debian-Bug: 564004 Signed-off-by: NeilBrown <neilb@suse.de>
* Release mdadm-3.1.1NeilBrown2009-11-191-1/+1
| | | | bugfix over 3.1, but changes to some significant defaults.
* Release 3.1NeilBrown2009-10-221-1/+1
| | | | | | New functionality in --grow. Signed-off-by: NeilBrown <neilb@suse.de>
* Merge branch 'master' into devel-3.1NeilBrown2009-10-221-1/+1
|\
| * Release 3.0.3NeilBrown2009-10-221-1/+1
| | | | | | | | Signed-off-by: NeilBrown <neilb@suse.de>
* | Merge branch 'master' into devel-3.1NeilBrown2009-10-221-0/+2
|\|
| * Monitor: add option to specify rebuild incrementsZdenek Behan2009-10-191-0/+2
| | | | | | | | | | | | | | | | | | | | ie. the percent increments after which RebuildNN event is generated This is particulary useful when using --program option, rather than (only) syslog for alerts. Signed-off-by: Zdenek Behan <rain@matfyz.cz> Signed-off-by: NeilBrown <neilb@suse.de>
* | Merge branch 'master' into devel-3.1NeilBrown2009-10-011-2/+4
|\| | | | | | | | | Conflicts: mdadm.8
| * Release mdadm-3.0.2NeilBrown2009-09-251-1/+1
| | | | | | | | Just one bugfix.
| * Release mdadm-3.0.1NeilBrown2009-09-251-1/+1
| | | | | | | | | | | | Just bugfixes. Signed-off-by: NeilBrown <neilb@suse.de>
| * Release mdadm-3.0devel-3.0NeilBrown2009-06-021-1/+1
| | | | | | | | | | | | | | | | - remove lot of old 'ANNOUNCE' files - trim changelog - update version numbers Signed-off-by: NeilBrown <neilb@suse.de>
| * Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown2009-06-021-1/+1
| | | | | | | | | | | | Also removed 'paper' addresses. Signed-off-by: NeilBrown <neilb@suse.de>
| * mdadm.8: Man page updatesNeilBrown2009-06-021-0/+2
| | | | | | | | General review and update of mdadm.8
* | Grow: support --array-size changesNeilBrown2009-07-131-3/+6
|/ | | | | | | | | With 2.6.30 it is possible to tell the md driver to clip an array to a size smaller than the real size of the array. This option gives access to that feature. The size change does not persist across restarts. Signed-off-by: NeilBrown <neilb@suse.de>
* Release mdadm-3.0-rc1NeilBrown2009-05-111-1/+1
|
* man pages: note that --auto is largely deprecated and irrelevant.NeilBrown2009-05-111-2/+0
| | | | Signed-off-by: NeilBrown <neilb@suse.de>
* Release mdadm-3.0-devel3NeilBrown2009-03-101-1/+1
|
* Support new raid6 layouts needed for DDFNeilBrown2009-03-091-10/+43
| | | | | | | | DDF raid6 layouts are subtly different from the standard 'md' layouts. From 2.6.30 the kernel knows about these. Teach mdadm about them, and also allow 'ddf' to set an appropriate default. Signed-off-by: NeilBrown <neilb@suse.de>
* Merge branch 'master' into devel-3.0NeilBrown2009-02-021-1/+2
|\
| * Document 'max' option to --grow --size in --help output.NeilBrown2009-02-021-1/+2
| | | | | | | | | | | | Suggestion from Christian Hudon <chrish@debian.org> Signed-off-by: NeilBrown <neilb@suse.de>
| * Release 2.6.8NeilBrown2008-11-281-1/+1
| |
* | introduce --detail-platform to display platform raid capabilitiesDan Williams2008-12-081-0/+2
| | | | | | | | | | | | | | Metadata formats like imsm work in concert with platform firmware and hardware, so provide a way for mdadm to display this info to the user. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* | Release 3.0-devel2NeilBrown2008-11-051-1/+1
| | | | | | | | Signed-off-by: NeilBrown <neilb@suse.de>
* | Updates version numbers for 3.0-devel1 release.NeilBrown2008-09-181-1/+1
| |
* | 'mdadm --wait-clean' wait for array to be marked cleanDan Williams2008-09-151-0/+1
| | | | | | | | | | | | | | | | | | For use in distro shutdown scripts with a RAID root file system. Returns immediately if the array is 'readonly', or not an externally managed array. It is up to the distro's scripts to make sure no new writes hit the device after this returns 'true'. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* | Merge branch 'master' into from-stableNeilBrown2008-08-071-2/+4
|\| | | | | | | | | | | | | Conflicts: Create.c Manage.c
| * Cosmetic cleanup of some messages.NeilBrown2008-08-011-2/+4
| | | | | | | | | | | | | | | | e.g. --raid-disks is preferred over --raid-devices. Thanks to "Jon Nelson" <jnelson-linux-raid@jamponi.net> Signed-off-by: NeilBrown <neilb@suse.de>
* | Merge branch 'master' into devel-3.0Neil Brown2008-06-191-1/+1
|\| | | | | | | | | | | Conflicts: Makefile
| * Release 2.6.7mdadm-2.6.7Neil Brown2008-06-061-1/+1
| |
| * Release 2.6.6mdadm-2.6.6Neil Brown2008-05-191-1/+1
| |
* | Add 'container' level and ->validate_geometry method.Neil Brown2008-05-151-0/+1
|/ | | | These will be used for ddf.
* Release 2.6.5mdadm-2.6.5Neil Brown2008-05-151-1/+1
|
* Remove spaces/tabs from ends of lines.Neil Brown2007-12-141-1/+1
|
* Release 2.6.4mdadm-2.6.4Neil Brown2007-10-191-1/+1
|
* Add some extra consistency checks based on level.Neil Brown2007-10-171-4/+4
| | | | Also use LEVEL_LINEAR, LEVEL_MULTIPATH in place of -1 or -4 in a few places.
* Release 2.6.3mdadm-2.6.3Neil Brown2007-08-201-1/+1
|
* Fix parsing of "-a" in various contexts.Doug Ledford2007-07-091-0/+2
| | | | | | | | | | | | From: Doug Ledford <dledford@redhat.com> This one fixes a bug where once manage mode is set, the -a short option is no longer parsed correctly (true of grow mode as well). This happens because when you switch the short opts to the bitmap_auto version, it specifies that the argument must follow a, yet the loop expects to get an undecorated option and parse it as the disk dev instead of trying to parse optarg. So, create a new short opt array that is used for manage and grow that doesn't list a as having an argument.
* Release 2.6.2mdadm-2.6.2Neil Brown2007-05-211-8/+3
|
* Add --auto-detect for in-kernel autodetect.Neil Brown2007-05-211-0/+3
| | | | This is equivalent to raidautorun that some distros provide.
* Add --export option to --detail to use key=value pairs.Kay Sievers2007-05-081-0/+3
| | | | | | | | udev likes to get information about a device as key=value pairs so it can create disk/by-id links etc. So add --export flag which causes the output of --detail to easily parsable. From: Kay Sievers <kay.sievers@novell.com>
* Release 2.6.1mdadm-2.6.1Neil Brown2007-02-221-1/+1
|
* Fixed old documentation in --grow --helpNeil Brown2007-02-221-4/+9
|
* Release 2.6mdadm-2.6Neil Brown2006-12-211-1/+1
|