diff options
Diffstat (limited to 'mdadm.8.in')
-rw-r--r-- | mdadm.8.in | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -216,8 +216,9 @@ to detect and assemble arrays \(em possibly in an If a device is given before any options, or if the first option is .BR \-\-add , .BR \-\-fail , -or .BR \-\-remove , +or +.BR \-\-replace , then the MANAGE mode is assumed. Anything other than these will cause the .B Misc @@ -1283,7 +1284,7 @@ have already been marked as failed. .TP .BR \-f ", " \-\-fail -mark listed devices as faulty. +Mark listed devices as faulty. As well as the name of a device file, the word .B detached can be given. This will cause any device that has been detached from @@ -1295,6 +1296,25 @@ same as .BR \-\-fail . .TP +.B \-\-replace +Mark listed devices as requiring replacement. As soon as a spare is +available, it will be rebuilt and will replace the marked device. +This is similar to marking a device as faulty, but the device remains +in service during the recovery process to increase resilience against +multiple failures. When the replacement process finishes, the +replaced device will be marked as faulty. + +.TP +.B \-\-with +This can follow a list of +.B \-\-replace +devices. The devices listed after +.B \-\-with +will be preferentially used to replace the devices listed after +.BR \-\-replace . +These device must already be spare devices in the array. + +.TP .BR \-\-write\-mostly Subsequent devices that are added or re\-added will have the 'write-mostly' flag set. This is only valid for RAID1 and means that the 'md' driver |