On Tue, May 24, 2016 at 06:10:31PM +0200, 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
> 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]

The filesystem type on the backing drive must be "RAID".  :)

You can type this as lower case "raid" and the disklabel(8)
program will understand it.

> 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