diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2015-06-10 07:42:08 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-06-17 01:21:29 +0200 |
commit | 4de90913020923b69515630b8f19094d2e0d1d5a (patch) | |
tree | c5aed27747bb1624162deb6d87c5e3418afc5a3a /mdadm.8.in | |
parent | Show all bitmaps while examining bitmap (diff) | |
download | mdadm-4de90913020923b69515630b8f19094d2e0d1d5a.tar.xz mdadm-4de90913020923b69515630b8f19094d2e0d1d5a.zip |
Add a new clustered disk
A clustered disk is added by the traditional --add sequence.
However, other nodes need to acknowledge that they can "see"
the device. This is done by --cluster-confirm:
--cluster-confirm SLOTNUM:/dev/whatever (if disk is found)
or
--cluster-confirm SLOTNUM:missing (if disk is not found)
The node initiating the --add, has the disk state tagged with
MD_DISK_CLUSTER_ADD and the one confirming tag the disk with
MD_DISK_CANDIDATE.
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.in | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1406,6 +1406,15 @@ will avoid reading from these devices if possible. .BR \-\-readwrite Subsequent devices that are added or re\-added will have the 'write-mostly' flag cleared. +.TP +.BR \-\-cluster\-confirm +Confirm the existence of the device. This is issued in response to an \-\-add +request by a node in a cluster. When a node adds a device it sends a message +to all nodes in the cluster to look for a device with a UUID. This translates +to a udev notification with the UUID of the device to be added and the slot +number. The receiving node must acknowledge this message +with \-\-cluster\-confirm. Valid arguments are <slot>:<devicename> in case +the device is found or <slot>:missing in case the device is not found. .P Each of these options requires that the first device listed is the array |