5.4.3.3. Repairing a Mirrored Logical Device
You can use the
lvconvert --repair command to repair a mirror after a disk failure. This brings the mirror back into a consistent state. The lvconvert --repair command is an interactive command that prompts you to indicate whether you want the system to attempt to replace any failed devices.
- To skip the prompts and replace all of the failed devices, specify the
-yoption on the command line. - To skip the prompts and replace none of the failed devices, specify the
-foption on the command line. - To skip the prompts and still indicate different replacement policies for the mirror image and the mirror log, you can specify the
--use-policiesargument to use the device replacement policies specified by themirror_log_fault_policyandmirror_device_fault_policyparameters in thelvm.conffile.