This should work but there are a few caveats.  It has to be same arch
(endiannes really), the softraid code has to be at the same level.  Id'd
have to see your disklabel & dmesg to say more but I can assure you that
I do this with USB keys.

On Thu, Apr 30, 2009 at 01:21:16PM +0000, Matthew Szudzik wrote:
> Can a softraid volume be shared between two different computers?  Here's
> my scenario:
> 
> I have two OpenBSD machines, A and B.  Both are running OpenBSD 4.4.
> Machine A is my primary computer, and I regularly back it up on an
> external hard drive, encrypted with softraid.  My plan is to copy the
> backup to machine B in the event that machine A fails.  But this doesn't
> seem to work.
> 
> I can reliably read/write to the encrypted hard drive on machine A, but
> when I attach the drive to machine B and type
> 
>  bioctl -c C -l /dev/sd0a softraid0
> 
> I am asked to type my passphrase twice, and then when the encrypted
> volume is attached, it is completely empty.
> 
> Can anyone confirm this behavior?  Am I doing something wrong?

Reply via email to