summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-10-25 18:20:49 +1100
committerNeilBrown <neilb@suse.de>2008-10-25 18:20:49 +1100
commitb3d3195538e315b3863235731112eee7398d4340 (patch)
tree7decf7dd32fe805c1206efc93e54fea1f23af378 /mdadm.8
parent11cd8b79c0690bf39b40a25352f86a82a838622a (diff)
downloadmdadm-b3d3195538e315b3863235731112eee7398d4340.tar.gz
mdadm-b3d3195538e315b3863235731112eee7398d4340.tar.xz
mdadm-b3d3195538e315b3863235731112eee7398d4340.zip
Allow WRITEMOSTLY to be cleared on --readd using --readwrite.
Previously it was possible to set the WRITEMOSTLY flag when adding a device to an array, but not to clear the flag when re-adding. This is now possible with --readwrite. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.811
1 files changed, 11 insertions, 0 deletions
diff --git a/mdadm.8 b/mdadm.8
index d26da80..054adda 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -905,6 +905,17 @@ the system to be marked as failed. It can then be removed.
same as
.BR \-\-fail .
+.TP
+.BR \-\-write\-mostly
+Subsequent devices that are added or re-added will have the 'write-mostly'
+flag set. This is only valid for RAID! and means that the 'md' driver
+will avoid reading from these devices if possible.
+.TP
+.BR \-\-readwrite
+Subsequent devices that are added or re-added will have the 'write-mostly'
+flag cleared.
+
+
.P
Each of these options require that the first device listed is the array
to be acted upon, and the remainder are component devices to be added,