Am 12.08.2017 um 11:20 schrieb Felix Koop:
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?
as already said it makes no sense to encrypt the underlying device - frankly in case of a mirror even if it works what is the point to encrypt twice instead raid -> luks which first encrypts the data and then write the already encrypted data to both mirrors
-- 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