]> git.ipfire.org Git - thirdparty/mdadm.git/commit
It should be FAILED when raid has not enough active disks
authorXiao Ni <xni@redhat.com>
Tue, 9 Feb 2021 09:39:51 +0000 (17:39 +0800)
committerJes Sorensen <jsorensen@fb.com>
Mon, 8 Mar 2021 15:50:37 +0000 (10:50 -0500)
commitdb5377883fef8655aac56b5d7ce5408f8ae494e0
tree42f00b469a6c6765d54e86a590975dde01b5a936
parentc7b8547c70035395a02ae4f7a5ec76a46dedb3cb
It should be FAILED when raid has not enough active disks

It can't remove the disk if there are not enough disks. For example, raid5 can't remove the
second disk. If the second disk is unplug from machine, it's better show missing and the raid
should be FAILED. It's better for administrator to monitor the raid.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Detail.c