]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.8.in
Add support for "--re-add missing"
authorNeilBrown <neilb@suse.de>
Mon, 5 Jul 2010 05:06:27 +0000 (15:06 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 6 Jul 2010 02:06:11 +0000 (12:06 +1000)
commita4e13010df574a1ce597efe9cb15ed6d6003b8bb
tree154ff9e2a4a201ef07e53f09a92ee2f25dfa4266
parent3a6ec29ad5695e23723fe18cb0ce3c49cd675fa2
Add support for "--re-add missing"

If the device name "missing" is given for --re-add, then mdadm will
attempt to find any device which should be a member of the array but
currently isn't and will --re-add it to the array.
This can be useful if a device disappeared due to a cabling problem,
and was then re-connected.
The appropriate sequence would be
  mdadm /dev/mdX --fail detached
  mdadm /dev/mdX --remove detached
  mdadm /dev/mdX --re-add missing

Signed-off-by: NeilBrown <neilb@suse.de>
Manage.c
mdadm.8.in