]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: forbid re-add to the array without metadata
authorYu Kuai <yukuai3@huawei.com>
Mon, 2 Dec 2024 01:59:11 +0000 (09:59 +0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 3 Dec 2024 14:55:15 +0000 (15:55 +0100)
commite2549acaef6ee461e4eb8ba63723841023ae3fad
tree48d99989cd5983060339a7fdd04c979aab8638b1
parent91d214f7eabab6e0a438b3f94900782b68172d7e
Manage: forbid re-add to the array without metadata

For the build mode or external metadata, re-add is not supported,
because it will not trigger full disk recovery, user should add a new disk
to the array instead.

Also update test/05r1-re-add-nosuper to reflect this.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Manage.c
tests/05r1-re-add-nosuper