No problem all works, but I would love to clarify below to be sure I
don;t do something wrong as the old and new FAQ14 changed in that aspect
and I don't see a reason for the changes.

In the new FaQ14 revised version here:


I wonder if there is a reason to offset so much space at the start of
the disk for the mirror setup but not for the encrypted full disk version?

I used to do it as this at the install time based on the old write up
from Nick@.

basically full disk as p partition on each drive with the offset [64]
and use the p partition as the RAID 1 and proceed as normal.

Now I see the fill disk only as full disk encryption, not as mirror one.

May be a stupid question, but just want to be sure I didn't miss
something in the last few changes that may need this for something I do
not know.

Also, last question I see the example use a instead of p. I guess it
doesn't make any differences as partition on each disks and the softraid
have nothing in common? I thought that may be the partition on each
drive and the RAID 1 had to be different based on the previous FAQ version.

Sorry for the question that may be stupid. I have the old habit to
always read the FAQ on new version before doing the work in case
something changed from the previous version of OS setup.



PS: On this part:

"Because the new device probably has a lot of garbage where you expect a
master boot record and disklabel, zeroing the first chunk of it is
highly recommended. Be very careful with this command; issuing it on the
wrong device could lead to a very bad day. This assumes that the new
softraid device was created as sd0.

    # dd if=/dev/zero of=/dev/rsd2c bs=1m count=1"

Shouldn't the sd0 be sd2 as it used the raw version rsd2c in the last
part of the text "...was created as sd0."?

Welcome to the OpenBSD/amd64 6.0 installation program.
Starting non-interactive mode in 5 seconds...
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# cd /dev
# sh  MAKEDEV sd1 sd2
# fdisk -iy sd0
Writing MBR at offset 0.
# fdisk -iy sd1
Writing MBR at offset 0.
# disklabel -E sd0
Label editor (enter '?' for help at any prompt)
> a p
offset: [64]
size: [586067201] *
FS type: [4.2BSD] RAID
> w
> q
No label changes.
# disklabel -E sd1
Label editor (enter '?' for help at any prompt)
> a p
offset: [64]
size: [586067201] *
FS type: [4.2BSD] RAID
> w
> q
No label changes.
# bioctl -c 1 -l sd0p,sd1p softraid0
sd2 at scsibus1 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd2: 286165MB, 512 bytes/sector, 586066673 sectors
softraid0: RAID 1 volume attached as sd2
# dd if=/dev/zero of=/dev/rsd2c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.004 secs (225742949 bytes/sec)
# exit

Reply via email to