On Sat, 12 Mar 2016 12:19:59 +0000 freeu...@ruggedinbox.com wrote: > hi, I use the bioctl encryption on boot volume. > > example A: > fdisk -iy sd0 > echo -n "a a\n64\n\nRAID\np\nw\nq\n\n" |disklabel -E sd0 > bioctl -c C -l /dev/sd0a softraid0 > > then, OpenBSD detect sd1 and I install the OpenBSD on sd1a. > It's OK. X and any process are running on these drive[call A:]. > > > I have problem. I tried mount this dirve[A:] on other OpenBSD machine. > (other OpenBSD machine uses drive wd0a[call B:]) > > but, I can't mount the encrytion volume[A:]. > > example B: > vnconfig -ck vnd0 /dev/sd0a > Encryption key:[any words] > vnconfig -l > vnd0: covering /dev/sd0a on wd0a, inode [any number] > mount /dev/vnd0a /mnt > mount_ffs: /dev/vnd0a on /mnt: Device not configured > > any ideas? >
softraid and vnconfig are completely separate systems. if you want to mount the softraid, you need to use the bioctl command you used above (it's not just for creation, it also configures it). check out bioctl(8) (check under EXAMPLES), and the archives at https://marc.info/?l=openbsd-misc&r=1&w=2 (search "softraid crypto").