]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Allow homehost to be largely ignored when assembling arrays.
authorNeilBrown <neilb@suse.de>
Mon, 11 May 2009 05:46:46 +0000 (15:46 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 11 May 2009 05:46:46 +0000 (15:46 +1000)
commit0ac91628b93b31636979b637c1ac7258064dea4e
tree88971a9e037c1519a8db205e8d6d1338ddfe8131
parent603f24a05f48063a7239e323e2aeab497cb0feb6
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>
Assemble.c
Incremental.c
config.c
mdadm.8
mdadm.c
mdadm.conf.5
mdadm.h
mdassemble.c