For what it's worth, cryptsetup 2 now offers a UI for setting up both dm-verity and dm-integrity. https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/v2.0.0-rc0-ReleaseNotes While more complicated than Btrfs, it's possible to first make an integrity device on each drive, and add the integrity block devices to mdadm or lvm as physical devices to create the raid1/10/5/6 array. You could do it the other way around, but what should happen if you do it as described, a sector read that fails checksum matching will cause a read error to be handed off to md driver which then does reconstruction from parity. If you only make the integrity volume out of an array, then your file system just gets a read error whenever there's a checksum mismatch, reconstruction isn't possible but at least you're warned. --- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
