aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2022-10-05 16:44:31 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2022-10-05 16:44:31 +0000
commitd63104d253e284964a2e7994553594b5b04422a3 (patch)
tree281c75c20f137fdb3477a860d723ef2963dcd61e
parentc3fb59ed5c5f5cad5fed5bc9f290a2a942838699 (diff)
downloadsrc-d63104d253e284964a2e7994553594b5b04422a3.tar.gz
src-d63104d253e284964a2e7994553594b5b04422a3.zip
Add information on how to load gmirror on boot to auto activate mirrors
PR: 234997 Reported by: Michiel van Baak <michiel@vanbaak.eu> Event: Aberdeen Hackathon 2022 Differential Revision: https://reviews.freebsd.org/D20577
-rw-r--r--lib/geom/mirror/gmirror.818
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/geom/mirror/gmirror.8 b/lib/geom/mirror/gmirror.8
index 44ea08bcf65b..c7d2b0e0e7ac 100644
--- a/lib/geom/mirror/gmirror.8
+++ b/lib/geom/mirror/gmirror.8
@@ -24,13 +24,29 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 21, 2022
+.Dd October 5, 2022
.Dt GMIRROR 8
.Os
.Sh NAME
.Nm gmirror
.Nd "control utility for mirrored devices"
.Sh SYNOPSIS
+To compile GEOM_MIRROR into your kernel, add the following lines to your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "options GEOM_MIRROR"
+.Ed
+.Pp
+Alternatively, to load the GEOM_MIRROR module at boot time, add the following
+line to your
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+geom_mirror_load="YES"
+.Ed
+.Pp
+.No Usage of the Nm
+utility:
+.Pp
.Nm
.Cm label
.Op Fl Fhnv