From d63104d253e284964a2e7994553594b5b04422a3 Mon Sep 17 00:00:00 2001 From: Benedict Reuschling Date: Wed, 5 Oct 2022 16:44:31 +0000 Subject: [PATCH] Add information on how to load gmirror on boot to auto activate mirrors PR: 234997 Reported by: Michiel van Baak Event: Aberdeen Hackathon 2022 Differential Revision: https://reviews.freebsd.org/D20577 --- lib/geom/mirror/gmirror.8 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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