diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2015-06-10 13:42:06 +0800 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-06-17 09:06:30 +1000 |
commit | 7716570e6d906e7326f83d466f6ba73009649d03 (patch) | |
tree | 7107f4dec7c84e6a7f49c64e679ea0dd885a310b /ReadMe.c | |
parent | 529e2aa573333981b211dc50ac687da7baefd224 (diff) | |
download | mdadm-7716570e6d906e7326f83d466f6ba73009649d03.tar.gz |
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 'ReadMe.c')
-rw-r--r-- | ReadMe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -141,6 +141,7 @@ struct option long_options[] = { {"symlinks", 1, 0, Symlinks}, {"data-offset",1, 0, DataOffset}, {"nodes",1, 0, Nodes}, + {"home-cluster",1, 0, ClusterName}, /* For assemble */ {"uuid", 1, 0, 'u'}, |