summaryrefslogtreecommitdiffstats
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2015-06-10 07:42:06 +0200
committerNeilBrown <neilb@suse.de>2015-06-17 01:06:30 +0200
commit7716570e6d906e7326f83d466f6ba73009649d03 (patch)
tree7107f4dec7c84e6a7f49c64e679ea0dd885a310b /mdadm.8.in
parentAdd nodes option while creating md (diff)
downloadmdadm-7716570e6d906e7326f83d466f6ba73009649d03.tar.xz
mdadm-7716570e6d906e7326f83d466f6ba73009649d03.zip
Set home-cluster while creating an array
The home-cluster is stored in the bitmap super block of the array. The device can be assembled on a cluster with the cluster name same as the one recorded in the bitmap. If home-cluster is not specified, this is auto-detected using dlopen corosync cmap library. neilb: allow code to compile when corosync-devel is not installed. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index fed00070..a07ddb7c 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -415,6 +415,12 @@ This functionality is currently only provided by
and
.BR \-\-monitor .
+.TP
+.B \-\-home\-cluster=
+specifies the cluster name for the md device. The md device can be assembled
+only on the cluster which matches the name specified. If this option is not
+provided, mdadm tries to detect the cluster name automatically.
+
.SH For create, build, or grow:
.TP