Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 23rd September 2009
Sunnz's Avatar
Sunnz Sunnz is offline
Real Name: I don't have real time
Just a computer user...
Join Date: May 2008
Location: See Google Maps
Posts: 101
Default softraid encryption

I have been using vnconfig for disk encryption but I am aware that softraid is the new thing for some years, so I decide to try it in a virtual machine before actually using it on my real system. (Is it still "new" or am I just slow?)

Anyway I was able to have encrypted disk (sd1, sd2) created from partitions (sd0j, sd0k) and all is good.

I got some n00bish questions though... I haven't really used raid before...

What is softraid0? Is it just a controller of some kind? I was able to make 2 encrypted volumes both using softraid0 (bioctl -c C -l /dev/sd0j softraid0; bioctl -c C -l /dev/sd0k softraid0; ) but I heard that you can have more... (like softraid1, 2, etc...) but why? Is there a limit or something?

How do to "undo" an encrypted volume? Say I did bioctl -c C -l /dev/sd0j softraid0; and sd0 appears but I want to undo that... is this just something you don't do with a RAID configuration?

Lastly is there a way to create an encrypted volume using a file? Like with vnconfig you can create a sparse disk image as a file like /img/disk.img that have a capacity of 10 GB but only takes up as much disk space as the file inside takes... I have tried to do something like,

mount_vnd /img/test.img svnd0 #no encryption
fdisk -i svnd0
disklabel -E svnd0 # svnd0a is RAID
bioctl -c C -l /dev/svnd0a softraid0
##kernel panic##
She sells C shells by the seashore.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing FreeBSD and encryption? neurosis FreeBSD Security 1 1st November 2008 05:51 PM
SOFTRAID(4) revzalot OpenBSD Installation and Upgrading 3 27th July 2008 08:40 PM
encryption during rsync gkontos General software and network 7 13th June 2008 10:08 AM

All times are GMT. The time now is 12:26 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick