RAID-6, dmcrypt, lvm, ext3
Sentient beings,
I am going to be building a 5 disk (1TB seagate) raid-6 array. To avoid having to spend massive amounts of time wiping the disks when I'm done, I'd like to keep the data encrypted on them.
What is the best layer order? I am thinking the best stack is
raid-6 to make /dev/md0
cryptsetup on /dev/md0 to make /dev/mapper/cryptpv0
lvm on /dev/mapper/cryptpv0
and then
ext3 on a partition of the lvm volume.
Does that make sense? Or should I just cryptsetup the particular partions on the lvm?
Thanks for any advice/sanity checks.
Cry