I created and assembled software RAID5 array (mdadm), 15 SSD disks. If I physically remove several disks and add them back, RAID doesn't assembles back. Disks stays in "spare" mode. Even after reassembling by commands.
But if I manually fail a drives: mdadm /dev/md0 --fail /dev/sd[xyz] and then after mdadm /dev/md0 --remove /dev/sd[xyz] remove physically and add disks back, with command mdadm /dev/md0 --add /dev/sd[xyz] RAID works fine!
Can anybody guess me, if there is a hot swap\remove\add in soft-raid mdadm or not? Should I always use commands before removing disks? No automation?