Commit Graph

127 Commits

Author SHA1 Message Date
NeilBrown d8419fe9e9 Release mdadm-3.0.1
Just bugfixes.

Signed-off-by: NeilBrown <neilb@suse.de>
2009-09-25 17:08:19 +10:00
NeilBrown 6e92d480f7 Release mdadm-3.0
- remove lot of old 'ANNOUNCE' files
 - trim changelog
 - update version numbers

Signed-off-by: NeilBrown <neilb@suse.de>
2009-06-02 15:37:56 +10:00
NeilBrown e0fe762a63 mdadm.8: Man page updates
General review and update of mdadm.8
2009-06-02 14:06:05 +10:00
NeilBrown 222a7bfd2e Release mdadm-3.0-rc1 2009-05-11 16:33:29 +10:00
NeilBrown 257c1dc27e man pages: note that --auto is largely deprecated and irrelevant.
Signed-off-by: NeilBrown <neilb@suse.de>
2009-05-11 15:47:10 +10:00
NeilBrown 0ac91628b9 Allow homehost to be largely ignored when assembling arrays.
If mdadm.conf contains
   HOMEHOST <ignore>
or commandline contains
   --homehost=<ignore>

then the check that array metadata mentions the given homehost is
replace by a check that the name recorded in the metadata is not
already used by some other array mentioned in mdadm.conf.

This allows more arrays to use their native name rather than having
an _NN suffix added.

This should only be used during boot time if all arrays required for
normal boot are listed in mdadm.conf.

If auto-assembly is used to find all array during boot, then the
HOMEHOST feature should be used to ensure there is no room for
confusion in choosing array names, and so it should not be set
to <ignore>.

Signed-off-by: NeilBrown <neilb@suse.de>
2009-05-11 15:46:46 +10:00
NeilBrown 9652457eea mdadm.8 general updates
Signed-off-by: NeilBrown <neilb@suse.de>
2009-05-11 15:17:50 +10:00
NeilBrown b9d77223eb Release mdadm-3.0-devel3 2009-03-10 16:59:57 +11:00
Dan Williams fdb482f99b Incremental: honor --no-degraded to delay assembly
Currently Incremental_container is being called after adding each disk.
In the imsm case where spares are not tracked in the raid_disks field we
can use --no-degraded to block premature assembly.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-02-24 18:45:57 -07:00
Dan Williams 4cce406959 introduce --detail-platform to display platform raid capabilities
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>
2008-12-08 16:59:18 -07:00
Dan Williams fabbfd48b6 Support --wait-clean --scan
Its cumbersome to determine which devices to wait for in a system shutdown
script, so hook up --scan.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-11-27 15:30:21 +11:00
NeilBrown 1679bef2ee Release 3.0-devel2
Signed-off-by: NeilBrown <neilb@suse.de>
2008-11-05 17:14:06 +11:00
NeilBrown 8fd8d9c41d Man pages: updates for container etc.
Multiple updates to try to get up to date with current code.

Signed-off-by: NeilBrown <neilb@suse.de>
2008-11-05 17:03:51 +11:00
NeilBrown 90c8d6680d Man page update for containers etc.
Signed-off-by: NeilBrown <neilb@suse.de>
2008-11-04 20:51:12 +11:00
NeilBrown b01b06bda8 Merge branch 'master' into devel-3.0
Conflicts:

	Create.c
	Manage.c
2008-10-27 10:10:08 +11:00
NeilBrown b3d3195538 Allow WRITEMOSTLY to be cleared on --readd using --readwrite.
Previously it was possible to set the WRITEMOSTLY flag when
adding a device to an array, but not to clear the flag when re-adding.
This is now possible with --readwrite.

Signed-off-by: NeilBrown <neilb@suse.de>
2008-10-25 18:20:49 +11:00
NeilBrown 492350045c Merge branch 'master' into devel-3.0
Conflicts:

	Manage.c
2008-10-17 12:46:23 +11:00
NeilBrown 11cd8b79c0 Remove .UR .UE macros from man page because the don't do what we want.
.UR URL
text
.UE

is meant to create a hyperlink from the 'text' to the 'URL'.
But I wanted just to have the URL, so UR isn't really the right
tool - the URL gets displayed twice.

So just display the URL in bold and assume man2html etc can recognise
it and do the right thing.

Signed-off-by: NeilBrown <neilb@suse.de>
2008-10-17 11:52:38 +11:00
Dan Williams 7146ec6a1e Extend --wait-clean to checkpoint resync
Root file systems backed by external metadata arrays need to be
explicitly checkpointed near the time the rootfs is marked readonly as
userspace will not have an opportunity to react to the final shutdown of
the array.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-10-15 14:15:51 -07:00
NeilBrown c04d54461f Updates version numbers for 3.0-devel1 release. 2008-09-18 17:27:49 +10:00
Dan Williams 1770662bca 'mdadm --wait-clean' wait for array to be marked clean
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>
2008-09-15 20:58:42 -07:00
NeilBrown 37ea3936a6 Merge branch 'master' into from-stable
Conflicts:

	Create.c
	Manage.c
2008-08-07 14:12:25 +10:00
NeilBrown e5669f4004 Cosmetic cleanup of some messages.
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>
2008-08-01 16:48:08 +10:00
Dan Williams 5545fa6d94 Document MDADM_NO_MDMON
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-07-18 17:47:34 -07:00
Neil Brown 0ee4da9850 Couple more man page fixes
Signed-off-by: Neil Brown <neilb@suse.de>
2008-06-26 09:25:08 +10:00
Pascal Charest e0f31f50be Add text to man pages suggesting partition type to use for version 1.x metadata.
Signed-off-by: Neil Brown <neilb@suse.de>
2008-06-26 09:21:40 +10:00
Neil Brown 51ac42e392 Italic/bold fixes in man pages.
Two places that should have been .B or .I were .M, which of
course is an error.
So fix these and that the opportunity to be more consistent
with highlighting of "mdadm".  Make it always italic except when
used as a literal example, then bold.
2008-06-26 09:11:59 +10:00
Neil Brown 866d136a2f Release 2.6.7 2008-06-06 16:07:11 +10:00
Neil Brown df5a0b9295 Release 2.6.6 2008-05-19 12:07:54 +10:00
David Greaves 75f743774f Remove outdated HOWTO link and credit Jakob's contribution.
From: David Greaves <david@dgreaves.com>

Signed-off-by: David Greaves <david@dgreaves.com>
2008-05-19 12:07:50 +10:00
Neil Brown 2270232245 Release 2.6.5 2008-05-15 15:50:59 +10:00
Kay Sievers 0d726f17e1 add --export option to --examine
From: Kay Sievers <kay.sievers@vrfy.org>

Cc: David Zeuthen <david@fubar.dk>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2008-05-06 10:02:38 +10:00
Neil Brown e43d0cda22 Use .\" instead of '''
Debian bug 477273
2008-04-29 17:13:59 +10:00
Neil Brown 3cdfb6a712 Updates some URLs in the man page.
Particularly, add the wiki on osdl.org
2008-04-28 16:29:53 +10:00
Neil Brown 6a0671608b Release 2.6.4 2007-10-19 14:13:04 +10:00
Neil Brown e5bddffd35 Release 2.6.3 2007-08-20 14:22:15 +10:00
Neil Brown 962a108fb7 In the MISC MODE section in mdadm(8), the names of the options should be
in bold.

  -- AYM 2007-01-14

diff -ur mdadm-2.6/mdadm.8 mdadm-2.6-man1/mdadm.8
2007-07-23 09:32:01 +10:00
Scott Weikart 93e790afef Substantial corrections to man pages.
From: "Scott Weikart" <Scott.W@Benetech.org>

Thanks Scott!
2007-07-13 15:13:43 +10:00
Neil Brown 01d9299c1a Fix spare migration and other problems with --monitor.
2.6 broke --monitor in various ways, including spare migration
stopped working.  This fixes it.
2007-07-09 09:59:42 +10:00
Neil Brown fffdbe5ed0 Release 2.6.2 2007-05-21 14:25:53 +10:00
Neil Brown a77be58672 Make return code for "--detail --test" more reliable.
Missing devices as well as failed devices cause an error.
2007-05-21 14:25:50 +10:00
Neil Brown 1f48664b8e Add --auto-detect for in-kernel autodetect.
This is equivalent to raidautorun that some distros provide.
2007-05-21 14:25:44 +10:00
Neil Brown b80da66161 Support failing and removed of detached and faulty devices.
This if you unplug a device and udev removes the entry from /dev,
you can still remove the device.
2007-05-11 16:13:03 +10:00
David Huffman 6f9a21a78f Minor typo in mdadm man page
From: David Huffman <dhuffman@storix.com>
2007-05-11 16:12:54 +10:00
Kay Sievers 54bad3644f Add --export option to --detail to use key=value pairs.
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>
2007-05-08 17:17:33 +10:00
Peter Samuelson 7e23fc43c3 Hyphens and Other Manpage Typography, 4/4: literal ASCII hyphens.
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>
2007-05-08 17:13:44 +10:00
Peter Samuelson 53e8b987bd Hyphens and Other Manpage Typography, 3/4: bold options.
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>
2007-05-08 17:13:36 +10:00
Peter Samuelson b3f1c093b7 Hyphens and Other Manpage Typography, 2/4: proper nroff "em dash".
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>
2007-05-08 17:13:25 +10:00
Peter Samuelson 35cc5be496 Hyphens and Other Manpage Typography, 1/4:
From: Peter Samuelson <peter@p12n.org>

 do not hyphenate terms:
  "override", "therein", "overwrite", "superblock format".

Signed-Off-By: Peter Samuelson <peter@p12n.org>
2007-05-08 17:13:03 +10:00
Neil Brown e003092c07 Release 2.6.1 2007-02-22 15:04:59 +11:00