summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix incorrect error status from --examine --scanNeil Brown2006-05-191-2/+3
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Arrange the 'auto' setting in mdadm.conf can choose default type.Neil Brown2006-05-164-57/+89
| | | | | | | | | | | | So when you say auto=md or auto=part in mdadm.conf, it give a preference for type of array, but standard name will override. But --auto=md is more insistant. FIXME I'm not at all happy about handling of names that already exist. I don't think that should be removed if the device is active. Signed-off-by: Neil Brown <neilb@suse.de>
* When updating uuid, update the bitmap as well - external bitmapsNeil Brown2006-05-164-0/+21
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Fix a couple of typos in the man page.Neil Brown2006-05-161-2/+2
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* When updating uuid, update the bitmap as well - internal bitmaps.Neil Brown2006-05-162-9/+82
| | | | | | | Otherwise when you "--update==uuid" an array with an internal bitmap, it will break, badly. Signed-off-by: Neil Brown <neilb@suse.de>
* Detail checks if array has been started or not and includes that in report.Neil Brown2006-05-152-2/+5
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Allow default creation info to to be stored in mdadm.confNeil Brown2006-05-157-70/+198
| | | | | | Default owner, group, mode and 'auto' flag can be given in a 'CREATE' line. Signed-off-by: Neil Brown <neilb@suse.de>
* Limit size of bitmap to 2million chunks.Neil Brown2006-05-157-9/+20
| | | | | | | | When creating a file bitmap, choose a default size that results in fewer than 2^21 chunks. Without this kmalloc failure in the kernel becomes likely. Signed-off-by: Neil Brown <neilb@suse.de>
* Fix problem with sector/KB size confuision for bitmap sizing.Neil Brown2006-05-153-7/+5
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support new offset layout for raid10Neil Brown2006-05-157-17/+45
| | | | | | Requires 2.6.18. Signed-off-by: Neil Brown <neilb@suse.de>
* Assume "DEVICE partitions" if no DEVICE line present.Neil Brown2006-05-153-1/+8
| | | | | | | This means the output of "mdadm -Es" can be used as a complete mdadm.conf file .... if you really want to do that. Signed-off-by: Neil Brown <neilb@suse.de>
* Arrange that SparesMissing events generate an email too.Neil Brown2006-05-153-2/+7
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support 'mailfrom' line in mdadm.conf so the From: line in alert emails can ↵Neil Brown2006-05-155-19/+70
| | | | | | be explicitly set. Signed-off-by: Neil Brown <neilb@suse.de>
* Use O_DIRECT to read bitmap files.Neil Brown2006-05-153-21/+43
| | | | | | | | A pending patch to the kernel causes bitmap file updates to not go through the page cache, so O_DIRECT is needed to ensure that we read current data. Signed-off-by: Neil Brown <neilb@suse.de>
* [PATCH] Make sure update_super returns correct value.Neil Brown2006-04-282-4/+21
| | | | | | | | | | | | | | | | For 'force' and 'assemble', update_super must return true if anything was changed. Also fix a bug with wonly handling in super0. Signed-off-by: Neil Brown <neilb@suse.de> ### Diffstat output ./super0.c | 18 ++++++++++++++---- ./super1.c | 7 +++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff ./super0.c~current~ ./super0.c
* [PATCH] Get the name for partitioned devices in sysfs correct.Neil Brown2006-04-281-2/+2
| | | | | | | | | | | | There are 64 partitions per device, not 16. Signed-off-by: Neil Brown <neilb@suse.de> ### Diffstat output ./sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff ./sysfs.c~current~ ./sysfs.c
* Release 2.4.1mdadm-2.4.1Neil Brown2006-04-176-4/+36
| | | | | | Annoying alignment bug in version-1 supers on 64bit.. Signed-off-by: Neil Brown <neilb@suse.de>
* Fix alignment problem in version-1 superblocks.Neil Brown2006-04-072-1/+9
| | | | | | | | NOTE: This is an incompatable change affecting raid5 reshape. If you want to reshape a raid5 using version-1 superblocks, use 2.6.17-rc2 or later, and mdadm-2.4.1 or later. Signed-off-by: Neil Brown <neilb@suse.de>
* Add tests/05r1-grow-internal-1Neil Brown2006-04-011-1/+0
|
* fix write mostly for add and re-addNeil Brown2006-04-031-0/+2
| | | | | | | | | The following patch makes it possible to tag a device as write-mostly on --add and --re-add with a non-persistent superblock array. Previously, this was not working. Signed-Off-By: Paul Clements <paul.clements@steeleye.com> Signed-off-by: Neil Brown <neilb@suse.de>
* Add ANNOUNCE-2.4mdadm-2.4Neil Brown2006-03-301-0/+45
|
* Release 2.4Neil Brown2006-04-035-7/+7
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Add tests/05r1-grow-internal-1Neil Brown2006-03-291-1/+1
|
* Updates to md.4Neil Brown2006-03-302-13/+152
| | | | | | Particularly restiping and sysfs, but a few other bits too. Signed-off-by: Neil Brown <neilb@suse.de>
* Bug fixes to pass test suiteNeil Brown2006-03-295-13/+22
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support 'bitmap=' in mdadm.conf for auto-assembling arrays with write-intent ↵Neil Brown2006-03-296-1/+39
| | | | | | bitmaps in separate files. Signed-off-by: Neil Brown <neilb@suse.de>
* Man page tidyup.Neil Brown2006-03-292-176/+246
| | | | | | | | mdadm.8 improved (I hope). Rearrange some option documentation and add --backup-file, and other general improvements. Signed-off-by: Neil Brown <neilb@suse.de>
* Changelog UpdatesNeil Brown2006-03-281-1/+8
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Kill old superblocks on create.Neil Brown2006-03-284-9/+15
| | | | | | | 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>
* Reduce dependance on MD_SB_DISKSNeil Brown2006-03-283-9/+19
| | | | | | --monitor should now work with arrays larger than 28 devices. Signed-off-by: Neil Brown <neilb@suse.de>
* Add information about reshape to --detailNeil Brown2006-03-283-17/+59
| | | | | | Also fix problems with dev names and symlinks Signed-off-by: Neil Brown <neilb@suse.de>
* Don't try to get bitmap info on old kernels.Neil Brown2006-03-281-2/+4
| | | | | | | | .. this causes silly warnings. Unfortuantely there are 2.6 kernels which will still produce warnings. We cannot reliable detect those. Signed-off-by: Neil Brown <neilb@suse.de>
* Create missing /dev files where needed.Neil Brown2006-03-2810-31/+33
| | | | | | | Whenever we need a device file to open, if one cannot be found in /dev, create a temporary one. Signed-off-by: Neil Brown <neilb@suse.de>
* Fix messy --detail output when there is a failed device.Neil Brown2006-03-281-0/+1
| | | | | | The missing devices show as garbage. Signed-off-by: Neil Brown <neilb@suse.de>
* Make scanning of /dev work even if it is a symlinkNeil Brown2006-03-271-1/+8
| | | | | | | | We generally don't want to follow symlinks in /dev, but if /dev itself is a symlink, we want to follow it. So nftw needs a bit of help. Signed-off-by: Neil Brown <neilb@suse.de>
* Allow resize to backup to a file.Neil Brown2006-03-276-42/+104
| | | | | | | | | | To support resizing an array without a spare, mdadm now understands --backup-file= which should point to a file for storing a backup of critical data. This can be given to --grow which will create the file, or --assemble which will restore from the file if needed. Signed-off-by: Neil Brown <neilb@suse.de>
* Remove ident arg from getinfo_super;Neil Brown2006-03-2711-28/+22
| | | | | | Add a 'name' field to 'info' to compensate. Signed-off-by: Neil Brown <neilb@suse.de>
* Put a 'canary' block in front of the backupNeil Brown2006-03-272-8/+36
| | | | | | .. so corruptio can be detected. Signed-off-by: Neil Brown <neilb@suse.de>
* Add ANNOUNCE-2.4-pre1mdadm-2.4-pre1Neil Brown2006-03-201-0/+24
|
* Release 2.4-pre1Neil Brown2006-03-208-8/+16
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Fix a few issues with the reshape patches.Neil Brown2006-03-201-7/+12
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support restarting of a reshape on --assembleNeil Brown2006-03-207-22/+220
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Initial reshape supportNeil Brown2006-03-138-33/+1098
| | | | | | Needs work for other levels etc. Signed-off-by: Neil Brown <neilb@suse.de>
* Add ANNOUNCE-2.3.1mdadm-2.3.1Neil Brown2006-02-061-0/+31
|
* Release some compile fixes.Neil Brown2006-02-0614-30/+86
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Update ChangeLog and release 2.3mdadm-2.3Neil Brown2006-02-028-6/+77
| | | | | Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Neil Brown <neilb@suse.de>
* Some little bits and pieces...Neil Brown2006-02-023-6/+6
| | | | | | I'm obviously bored of writing changelog entries. Signed-off-by: Neil Brown <neilb@suse.de>
* Fix printing of size of reiserfs filesystem.Neil Brown2006-01-311-2/+2
| | | | | | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318230 Signed-off-by: Neil Brown <neilb@suse.de>
* Sort mdstat entries so that composites are well-ordered.Neil Brown2006-01-316-13/+52
| | | | | | | This means that "-Ds" lists arrays in an approprate order for assembly. Signed-off-by: Neil Brown <neilb@suse.de>
* Prefer version-1 superblocks for v.large devices.Neil Brown2006-01-313-9/+23
| | | | Signed-off-by: Neil Brown <neilb@suse.de>