On Jan 21, 2014, at 9:37 AM, Marc MERLIN <marc@xxxxxxxxxxx> wrote: > I should have said that this is seemingly a stupid question since obviously > if you encrypt each drive separately, you're going through the encryption > layer 5 times during rebuilds instead of just once. It wasn't a stupid question, but I think you've succeeded in confusing yourself into thinking more work is happening by encrypting the drives rather than the logical md device. > However in my case, I'm not CPU-bound, so that didn't seem to be an issue > and I was more curious to know if the dmcrypt and dmraid5 layers stacked the > same regardless of which one was on top and which one at the bottom. md raid isn't dmraid. I'm actually not sure where the dmraid work is at. I'm under the impression most of that work is happening within LVM2 - they now have their own raid 0,1,10,5,6 implementation. My understanding is it uses md kernel code, but uses lvm tools to create and monitor, rather than mdadm. Chris Murphy -- 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