I have observed that:
If md array is created with partitioned disk, the state change with array
degrade is working as expected.
Verified with kernel 4.2.0-23-generic
1. Create md array with partitioned disk
# mdadm --detail /dev/md500
/dev/md500:
Version : 1.2
Creation Time : Mon Feb 15 16:17:59
Public bug reported:
The problem is :
Mdadm –detail command is not displaying the state of an md array as degraded,
when actually the array is in degraded state:
Expected behavious is State should be 'Clean,degraded' for a degraded md array.
OS : Ubuntu 14.04.3 LTS
Kernel : 4.2.0-23-generic
mdad