In order to activate mirrors automatically on boot one has to add geom_mirror_load="YES" to loader.conf(5). It is not documented in gmirror.8, however.
Reported by: Michiel van Baak <michiel@vanbaak.eu>
The problem is actually bigger than anticipated. All the other files in the head/lib/geom/ subdirectories for the other GEOM modules also do not have this information in the SYNOPSIS section. I've opened a review for gmirror.8 here: https://reviews.freebsd.org/D20577
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d63104d253e284964a2e7994553594b5b04422a3 commit d63104d253e284964a2e7994553594b5b04422a3 Author: Benedict Reuschling <bcr@FreeBSD.org> AuthorDate: 2022-10-05 16:44:31 +0000 Commit: Benedict Reuschling <bcr@FreeBSD.org> CommitDate: 2022-10-05 16:44:31 +0000 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 lib/geom/mirror/gmirror.8 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
I've fixed it for gmirror, but as mentioned, the other geom man pages also need that. Not sure if that is necessary in the age of devmatch, but for consistencies sake, it would not hurt either. Opinions?
^Triage: assign to committer that resolved. It still seems like there are similar issues to be discussed, however.