degraded raid1 allocates new single bg's, degraded raid56 does not
Hi,
This is not new but I'm still seeing it with 6.16 series kernels. If a device fails during runtime, newly allocated bg's inherit the existing profile.
However, when mounting a file system with raid1 data, using degraded mount option, new data bg's have single profile. I forget why this happens, if there's a good reason for it? It seems users are decently likely to not notice this reduction in redundancy.
When I mount a data raid5 array degraded, and continue writes, new bg's are raid5. There's no reduction in redundancy (other than the missing device of course). So only raid1 reduces to single? (I haven't tested raid10 or raid1c34).
--
Chris Murphy