Show Table of Contents
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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.