On 05/26/17 12:00, Christian Weisgerber wrote:
On 2017-05-25, [email protected] <[email protected]> wrote:
fdisk -iy -g sd0 (I left off the "-b 960" because this is not a
bootable partiton)
Back in March, Eric Huiban noticed this:
| i just performed some remote connection... recreating GPT with an .i EFI
| boot partition. The softraid is now 2.7TiB... Grumbl! conclusion :
| bioctl needs a mandatory bootable partition to act correctly even on
| disks not aimed to be bootable.
https://marc.info/?l=openbsd-misc&m=148854591221493&w=2
using the "-b 960" doesn't help:
# dd if=/dev/random of=/dev/rsd0c bs=1m
^C18404+0 records in
18403+0 records out
19296944128 bytes transferred in 386.986 secs (49864646 bytes/sec)
# fdisk -iy -g -b 960 sd0
Writing MBR at offset 0.
Writing GPT.
# disklabel -E sd0
Label editor (enter '?' for help at any prompt)
> a a
offset: [1024]
size: [70319602625]
FS type: [4.2BSD] RAID
> w
> q
No label changes.
:# bioctl -v -c C -l sd0a softraid0
New passphrase:
Re-type passphrase:
Deriving key using bcrypt PBKDF with 16 rounds...
bioctl: unknown error