Alexis de BRUYN [Mailinglists] wrote > On 30.11.2012 06:29, zgeggy2k wrote: >> Yes, I tried stacking them one after the other (first raiding, then >> crypto'ing) - didn't work. > > Try that : > wd0a & wd1a are RAID partitions. > bioctl -c 1 -l wd0a,wd1a softraid0 > Create a RAID partition on the new raid device sd0. > bioctl -c C -r 8192 -l /dev/sd0d softraid0 > sd1 is your raid+crypto device.
Thanks for the tip, but unfortunately it didn't work (that's what I had tried). However, I think I found a workaround: after combining wd0a and wd1a as mirrors with the first command, I created a disklabel for sd0, with a sd0a of type "raid" Then: bioctl -c C -r 8192 -l /dev/sd0a softraid0 Which gave me sd1... which I then disklabel'd, etc... and finally mounted sd1a. So I _think_ it is being encrypted and mirrored. But I need to do more tests to confirm. Thanks for the help - I hope my findings can help someone else hitting the same issue. Frankly I don't know why your suggestion didn't work. It seems to me it should. Cheers, -- Greg -- View this message in context: http://openbsd.7691.n7.nabble.com/softraid-to-encrypt-AND-raid-tp219721p219807.html Sent from the openbsd user - misc mailing list archive at Nabble.com.