diff options
author | NeilBrown <neilb@suse.de> | 2008-10-25 18:20:49 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-10-25 18:20:49 +1100 |
commit | b3d3195538e315b3863235731112eee7398d4340 (patch) | |
tree | 7decf7dd32fe805c1206efc93e54fea1f23af378 /mdadm.8 | |
parent | 11cd8b79c0690bf39b40a25352f86a82a838622a (diff) | |
download | mdadm-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.8 | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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, |