summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-09-04 08:06:41 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-09-04 08:06:41 +0000
commiteccd2573a55a7d4f055abd7198602bfc50dea755 (patch)
tree11660a164e956cb6b65551ff16af1a8da9360990 /share
parente2f1ee93e8e5d5a6eb5bb3298c9b14c1dc8a1c61 (diff)
Document disklabel(8) -T's new RAID template
OK jmc
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/softraid.411
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man4/softraid.4 b/share/man/man4/softraid.4
index a15f9692aaa..99c435f6ef5 100644
--- a/share/man/man4/softraid.4
+++ b/share/man/man4/softraid.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: softraid.4,v 1.48 2022/08/13 11:13:17 jmc Exp $
+.\" $OpenBSD: softraid.4,v 1.49 2022/09/04 08:06:40 kn Exp $
.\"
.\" Copyright (c) 2007 Todd T. Fries <todd@OpenBSD.org>
.\" Copyright (c) 2007 Marco Peereboom <marco@OpenBSD.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 13 2022 $
+.Dd $Mdocdate: September 4 2022 $
.Dt SOFTRAID 4
.Os
.Sh NAME
@@ -183,9 +183,10 @@ Initialize the partition tables of all disks:
.Pp
Now create RAID partitions on all disks:
.Bd -literal -offset indent
-# printf "a\en\en\en\enRAID\enw\enq\en" | disklabel -E wd1
-# printf "a\en\en\en\enRAID\enw\enq\en" | disklabel -E wd2
-# printf "a\en\en\en\enRAID\enw\enq\en" | disklabel -E wd3
+$ echo 'RAID 1M-* 100%' > template
+# disklabel -wAT template wd1
+# disklabel -wAT template wd2
+# disklabel -wAT template wd3
.Ed
.Pp
Assemble the RAID volume: