On 12/08/17 10:20, Felix Koop wrote:
Hello Wol,
thanks for trying to help me.
Yes, md2 is a mirror. Initially it was a mirror of sdf1 and sdg1. Then
I broke that mirror and reassembled/recreated it as a mirror of sdf1
and cryptorootg (which is the encrypted device sdg1). After the
reassembly this worked fine until next reboot. cryprotrootg is unlocked
during boot, but md2 is not reassembled.
Is it correct that mirroring (or raid in general) does not work on
encrypted devices? If so, why?
The thing is, which happens first in the boot sequence? Unlocking the
crypto, or assembling the mirror? Because if the boot attempts to
assemble the mirror before it unlocks the crypto, this is going to cause
exactly the scenario you describe.
Cheers,
Wol
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html