Blame SOURCES/0009-mdadm-Update-config-manual.patch

fdf7c0
From c33bbda5b0e127bb161fd4ad44bcfaa2a5daf153 Mon Sep 17 00:00:00 2001
fdf7c0
From: Lukasz Florczak <lukasz.florczak@linux.intel.com>
fdf7c0
Date: Fri, 18 Mar 2022 09:26:07 +0100
01ff50
Subject: [PATCH 09/83] mdadm: Update config manual
fdf7c0
fdf7c0
Add missing HOMECLUSTER keyword description.
fdf7c0
fdf7c0
Signed-off-by: Lukasz Florczak <lukasz.florczak@linux.intel.com>
fdf7c0
Acked-by: Coly Li <colyli@suse.de>
fdf7c0
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
fdf7c0
---
fdf7c0
 mdadm.conf.5.in | 17 +++++++++++++++++
fdf7c0
 1 file changed, 17 insertions(+)
fdf7c0
fdf7c0
diff --git a/mdadm.conf.5.in b/mdadm.conf.5.in
fdf7c0
index dd331a6a..cd4e6a9d 100644
fdf7c0
--- a/mdadm.conf.5.in
fdf7c0
+++ b/mdadm.conf.5.in
fdf7c0
@@ -439,6 +439,23 @@ from any possible local name. e.g.
fdf7c0
 .B /dev/md/1_1
fdf7c0
 or
fdf7c0
 .BR /dev/md/home_0 .
fdf7c0
+
fdf7c0
+.TP
fdf7c0
+.B HOMECLUSTER
fdf7c0
+The
fdf7c0
+.B homcluster
fdf7c0
+line gives a default value for the
fdf7c0
+.B \-\-homecluster=
fdf7c0
+option to mdadm.  It specifies  the  cluster name for the md device.
fdf7c0
+The md device can be assembled only on the cluster which matches
fdf7c0
+the name specified. If
fdf7c0
+.B homcluster
fdf7c0
+is not provided, mdadm tries to detect the cluster name automatically.
fdf7c0
+
fdf7c0
+There should only be one
fdf7c0
+.B homecluster
fdf7c0
+line.  Any subsequent lines will be silently ignored.
fdf7c0
+
fdf7c0
 .TP
fdf7c0
 .B AUTO
fdf7c0
 A list of names of metadata format can be given, each preceded by a
fdf7c0
-- 
01ff50
2.38.1
fdf7c0