<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Raid on mwclabs</title><link>https://mwclabs.net/tags/raid/</link><description>Recent content in Raid on mwclabs</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0&lt;/a></copyright><lastBuildDate>Thu, 05 Dec 2013 17:02:41 -0300</lastBuildDate><atom:link href="https://mwclabs.net/tags/raid/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing OpenBSD using softraid</title><link>https://mwclabs.net/posts/2013/12/installing-openbsd-using-softraid/</link><pubDate>Thu, 05 Dec 2013 17:02:41 -0300</pubDate><guid>https://mwclabs.net/posts/2013/12/installing-openbsd-using-softraid/</guid><description>&lt;p>Installing OpenBSD 5.4 with two disks configured as software RAID 1 array (softraid):&lt;/p>
&lt;pre tabindex="0">&lt;code>(I)nstall, (U)pgrade or (S)hell? s
# cd /dev
# sh /dev/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)
&amp;gt; a a
offset: [64] [ENTER]
size: [41929586] [ENTER]
FS type: [4.2BSD] RAID
&amp;gt; q
Write new label?: [y] y
# cd /tmp
# disklabel sd0 &amp;gt; protofile
# disklabel -R sd1 protofile
# bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
sd2 at scscibus2 targ 1 lun 0: &amp;lt;OPENBSD, SR RAID 1, 005&amp;gt; SCSI2 0/direct fixed
sd2: 20473MB, 512 bytes/sector, 41929058 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.009 secs (111337439 bytes/sec)
# exit
&lt;/code>&lt;/pre></description></item></channel></rss>