]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: warn if growing an array will make it degraded.
authorNeilBrown <neilb@suse.de>
Thu, 9 Dec 2010 00:51:13 +0000 (11:51 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 9 Dec 2010 00:51:13 +0000 (11:51 +1100)
commit691a36b76f871a63a327641589f41e968b05afa9
tree051ad5e74b9e404cfdeeceeae0b5ea8b47a05729
parentf80c8614b0014fde1220591fcc4a1365c9cde0c4
Grow: warn if growing an array will make it degraded.

Growing an array when there aren't enough spares can make the array
degraded.  This works but might not be what is wanted.
So warn the user in this case and require a --force to go ahead
with the reshape.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.c
mdadm.h