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