The problem with this approach is that we generally don't *know* that a given filesystem is on a degraded RAID, because the RAID is not activated - so we can't see the filesystem UUID inside it.
mountall already provides the ability to drop to a shell, where the user can run mdadm --run
Sorry about the spam there, hit the wrong button.
The problem with this approach is that we generally don't *know* that a given filesystem is on a degraded RAID, because the RAID is not activated - so we can't see the filesystem UUID inside it.
mountall already provides the ability to drop to a shell, where the user can run mdadm --run
Does this not suffice?