On Friday 26 May 2017 01:05:59 sharon s. wrote:
> On 05/26/17 00:45, Ted Unangst wrote:
> > mymlact@gmx.com wrote:
> >> Steps to recreate:
> >>
> >> dd if=/dev/random of=/dev/rsd0c bs=1m (took over a week)
> >>
> >> fdisk -iy -g sd0 (I left off the "-b 960" because this is not a
> >> bootable partiton)
> >>
> >> disklabel -E sd0
> >>
> >> Label editor (enter '?' for help at any prompt)
> >>
> >> > a a
> >>
> >> offset: [64]
> >> size: [70319603585]
> >> FS type: [4.2BSD] RAID
> >>
> >> > w
> >> > q
> >>
> >> # bioctl -v -c C -l sd0a softraid0
> >> New passphrase:
> >> Re-type passphrase:
> >> Deriving key using bcrypt PBKDF with 16 rounds...
> >> bioctl: unknown error
> >>
> >> softraid0: invalid metadata format
> >
> > You filled the disk with random data, which is not a valid metadata
> > format...
>
> I followed the FAQ, http://www.openbsd.org/faq/faq14.html#softraidCrypto .
Hrmmm, it looks like that part of the FAQ is incorrect or missing a step. You
should be able to work around it by either zeroing the first ~1MB of disk (per
the FAQ), or by using 'bioctl -C force' (carefully).
No comments:
Post a Comment