On Tue, May 24, 2016 at 05:10:31PM BST, Pau Amaro-Seoane wrote:
> Dear all,
> 
> I have been following this guide here:
> 
> http://www.openbsd.org/faq/faq14.html#softraidCrypto
> 
> And I get this problem:
> 
> pyrrha# dd if=/dev/arandom of=/dev/rsd2c bs=1m
                     ^
Since there's no difference on OpenBSD, why do you keep on changing
the device name to something other than what's in the document?

> dd: /dev/rsd2c: short write on character device
> dd: /dev/rsd2c: end of device
> 57260+0 records in
> 57259+1 records out
> 60040544256 bytes transferred in 2966.279 secs (20241028 bytes/sec)
> pyrrha# fdisk -iy sd2
> Writing MBR at offset 0.
> pyrrha# disklabel -E sd2
> Label editor (enter '?' for help at any prompt)
> > a a
> offset: [64]
> size: [117258371]
> FS type: [4.2BSD]
           ^^^^^^^
This should be RAID.

It is there in the document you had linked to above :^)

Regards,

Raf

> Rounding size to bsize (32 sectors): 117258368
> > w
> > q
> No label changes.
> pyrrha# bioctl -c C -l sd2a softraid0
> softraid0: invalid metadata format
> 
> /dev/sd2 is my external usb disk.
> 
> What am I doing wrong?
> 
> Thanks,
> 
> Pau
> _______________________________________________
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to