Re: How to salvage a degraded mdadm RAID1 with as little data loss as possible?

<[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <ajpCQWMHBSj5I/[email protected]>
On Tue, Jun 23, 2026 at 08:00:11AM +0200, Michel Verdier wrote:
> On 2026-06-22, [email protected] wrote:
> 
> >> RAID is always before LUKS : partition > RAID array > LUKS > filesystem
> >
> > "Is always" means for you "should always be" or "has to be"?
> 
> "has to be". LUKS encrypt a partition in a unique way. So 2 encrypted
> partitions are always different and cannot be synced.

I think that is wrong. You don't sync the *encrypted* partitions (how would
you?) but the decrypted block layer, one level up. I don't see a reason it
wouldn't work.

> > As far as I understand OP, their case is the other way around (and I don't
> > see why it shouldn't be technically possible: a block device is a block
> > device is a block device, after all).
> 
> Perhaps the problem but I don't have enough informations on its
> installation.

OP's initial description was (to me) so clear that I think I understood
it.

Cheers
-- 
tomás
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCajpCOQAKCRAFyCz1etHa
RqdtAJ0Xnxut0fA+a5AYD1TxMbHCcGz4ugCfYzDhni0C1nRRo3IL/yZOu5/6GG4=
=PN0K
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.