The problem here is clearly that mdadm is being run too early, and is trying to assemble RAIDs that are not yet complete.
Either mdadm needs to be fixed so that doing this is possible, and harmless; like it is for lvm, etc. or the script that calls mdadm needs to check whether it is safe to call mdadm yet.
The problem here is clearly that mdadm is being run too early, and is trying to assemble RAIDs that are not yet complete.
Either mdadm needs to be fixed so that doing this is possible, and harmless; like it is for lvm, etc. or the script that calls mdadm needs to check whether it is safe to call mdadm yet.