summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Hyphens and Other Manpage Typography, 4/4: literal ASCII hyphens.Peter Samuelson2007-05-083-282/+282
| | | | | | | | | | | | | | | | | | From: Peter Samuelson <peter@p12n.org> nroff formats "-" as the very short hyphen used for hyphenated terms and for splitting a word across two lines. When you want a literal ASCII "-", like for typing on a command line, you're supposed to use "\-" instead. Yeah, it sounds pedantic, but it actually makes a difference. With modern Unicode-capable terminals, "man" actually renders these with different characters, so if you try to search for "--create" in your favorite pager, you won't find it unless the nroff source says "\-\-create". This discrepancy doesn't generally show up with non-Unicode terminals. Signed-Off-By: Peter Samuelson <peter@p12n.org>
* Hyphens and Other Manpage Typography, 3/4: bold options.Peter Samuelson2007-05-082-48/+63
| | | | | | | | | From: Peter Samuelson <peter@p12n.org> Option names and example command lines seem to be boldface most of the time, fix up the few that weren't. Signed-Off-By: Peter Samuelson <peter@p12n.org>
* Hyphens and Other Manpage Typography, 2/4: proper nroff "em dash".Peter Samuelson2007-05-083-7/+7
| | | | | | | | | From: Peter Samuelson <peter@p12n.org> \(em renders as "--" in ASCII, and a nice em dash (i.e., a dash the width of the letter "m") in more capable formats like PostScript. Signed-Off-By: Peter Samuelson <peter@p12n.org>
* Hyphens and Other Manpage Typography, 1/4:Peter Samuelson2007-05-083-10/+10
| | | | | | | | | From: Peter Samuelson <peter@p12n.org> do not hyphenate terms: "override", "therein", "overwrite", "superblock format". Signed-Off-By: Peter Samuelson <peter@p12n.org>
* Minor manpage fixesNeil Brown2007-05-081-2/+2
|
* Remove bogus add_dev definition.Neil Brown2007-05-081-4/+0
| | | | | If nether ftw nor nftw are available, add_dev gets defined twice. Fix that...
* Release 2.6.1mdadm-2.6.1Neil Brown2007-02-226-5/+6
|
* Don't include uclibc as part of 'everything'Neil Brown2007-02-222-1/+6
| | | | | As I cannot compile in on x86-64. Also, small dietlibc fix
* A couple of casts needed in printf statements.Neil Brown2007-02-221-2/+4
|
* Fixed old documentation in --grow --helpNeil Brown2007-02-223-7/+14
|
* Teach restripe to calculate Q syndrome for raid6.Neil Brown2007-02-222-8/+115
| | | | | This allows mdadm to correctly restart a raid6 grow that crashed during the critcal phase.
* Fix a warning about an uninitialised variable.Neil Brown2007-02-222-0/+3
| | | | | The case that doesn't initialise it is impossible, so just return with an error..
* Fix a bug that was causing incorrect warning from --monitor.Neil Brown2007-02-222-1/+4
|
* Release 2.6mdadm-2.6Neil Brown2006-12-2110-9/+93
|
* Add new mode: --incrementalNeil Brown2006-12-2120-15/+1468
| | | | | --incremental allows arrays to be assembled one device at a time. This is expected to be used with udev.
* Centralise code for copying uuidNeil Brown2006-12-144-38/+25
| | | | Rather than opencoding the byteswap all the time.
* Support --uuid= with --create to choose your own UUID.Neil Brown2006-12-148-24/+59
|
* Fix bug where v1 superblock might appear active when they should be clean.Neil Brown2006-12-142-2/+4
| | | | Only happens on kernel with 32 bit sector_t.
* Central calls to ioctl BLKGETSIZENeil Brown2006-12-1412-141/+62
| | | | Instead of opencoding the same thing everywhere.
* Don't hold md device open for so long in --monitor modeNeil Brown2006-12-142-4/+22
| | | | map_dev can be slow and interferes with trying to stop the array.
* Check device is large enough before hot-add.Neil Brown2006-12-142-1/+37
| | | | This improves quality of error message.
* Change handling for "--assemble --force" when two drives disappeared at once.Neil Brown2006-12-142-1/+24
| | | | | | If two drives in a raid5 disappear at the same time, then "-Af" will add them both in rather than just one and forcing the array to 'clean'. This is slightly safer in some cases.
* Fix and test --update=uuidNeil Brown2006-12-147-15/+140
| | | | A number of odd bugs here, but now we have a regression test as well.
* When resync finished, report the mismatch count if there is one.Neil Brown2006-12-144-4/+28
| | | | | This doesn't get mailed out, but will appear in syslog... Maybe it should be mailed if it was a 'check' or 'repair' pass...
* --wait or -W will wait for resync activity to finish on the given devices.Neil Brown2006-12-146-3/+55
|
* Change 'Device Size' to 'Used Dev Size'Neil Brown2006-12-144-5/+13
| | | | | because it only shows how much of each device is actually used, not how big they are.
* Increase raid456 stripe cache size if needed to --grow the array.Neil Brown2006-12-144-2/+29
| | | | | The setting used unfortunately requires intimate knowledge of the kernel, and it not reset when the reshape finishes.
* Give useful message if raid4/5/6 cannot be started because it is not clean ↵Neil Brown2006-12-146-7/+42
| | | | and is also degraded.
* Default to --auto=yesNeil Brown2006-12-144-14/+19
| | | | | so the array devices with 'standard' names get created automatically, as this is almost always what is wanted.
* Fix a misleading comment.Neil Brown2006-12-141-1/+3
|
* Support --update=devicesize for cases where the underlying device can change ↵Neil Brown2006-12-144-7/+52
| | | | size.
* Improve allocation and use of space for bitmaps in version1 metadataNeil Brown2006-12-145-34/+114
| | | | | | | | | | Depending on the size of the array we reserve space for up to 128K of bitmap, and we use it where possible. When hot-adding to a version 1.0 we can still only use the 3K at the end though - need a sysfs interface to improve that. If a small chunksize is requested on Create, we don't auto-enlarge the reserved space - this still needs to be fixed.
* Actually support --syslogNeil Brown2006-12-141-0/+1
| | | | | | | Fixes-debian-bug: 402457 (part) All the code is there, and it works for '-y', but for some reason, "syslog" was missing from the long_options.
* Remove some unused interfaces to the metadata handlers.Neil Brown2006-12-143-38/+0
| | | | | This stuff has never been used (at least as far as git history can see). I wonder why it was there...
* Make Assemble/Force work on raid6 with 2 missing devices.Neil Brown2006-12-145-7/+29
| | | | | | Previously it onl worked when one missing device. Also split the "force" update_super method into two and it is really serving two functions.
* --update=resync did exactly the wrong thing for version1 metadata.Neil Brown2006-11-132-1/+3
|
* Fixed UUID printing in "--detail --brief" for version1 metadata.Neil Brown2006-11-092-1/+4
|
* Release 2.5.6mdadm-2.5.6Neil Brown2006-11-096-23/+56
|
* Fixed problems that could cause infinitel loop with auto assemble.Neil Brown2006-11-092-3/+21
| | | | | | | | | If an auto-assembly attempt failes because the array cannot be opened or because the array has already been created, then we get into an infinite loop. Reported-by: Dan Pascu <dan@ag-projects.com> Fixes-debian-bug: 396582
* Document that the default metadata version can be overridden in config file.Goswin Brederlow2006-11-092-0/+7
| | | | | | | | | From: Goswin Brederlow <brederlo@informatik.uni-tuebingen.de> This is already mentioned in the config documentation, but not in the place when the normal default is mentioned. Fixes-debian-bug: 396914
* Strdup the bitmap file name found in the config fileNeil Brown2006-11-092-1/+5
| | | | Otherwise we quickly lose it...
* Release 2-5-5mdadm-2.5.5Neil Brown2006-11-037-5/+49
|
* Support --examine --brief --verbose properlyNeil Brown2006-10-231-0/+2
| | | | | Similar to -Esv, this combination should print out the 'devices=' line in the otherwise --breif output.
* Check error return on a couple of syscalls.Michael Labuschke2006-10-231-3/+6
| | | | From: "Michael Labuschke" <michael@labuschke.de>
* Update test scripts for new blockdevNeil Brown2006-10-232-6/+6
| | | | --getsize64 seems to have disappeared.
* Improve error message when wrong --update option is given.Neil Brown2006-10-233-3/+10
|
* Increase default size of bitmap for v1 superblocks.Neil Brown2006-10-191-1/+1
| | | | | It can be increased further, but that takes a bit more code so will wait for 2.6.
* Fix bugs related to raid10 and the new offset layout.Neil Brown2006-10-193-2/+3
| | | | | Need to mask of bits above the bottom 16 when calculating number of copies.
* Fix array-subscript error.Neil Brown2006-10-191-1/+1
| | | | | ->name is sized to '33' to have room for a trailing nul, but thhat needs to get put in position '32'. Doh!
* Don't trigger and error on -As if all arrays are already started.Luca Berra2006-10-162-1/+3
| | | | | | | From: Luca Berra <bluca@comedia.it> Put another way, if we find any active arrays, then assume things are going as planned.