Show Table of Contents
220.127.116.11. Repairing a Mirrored Logical Device
You can use the
lvconvert --repaircommand to repair a mirror after a disk failure. This brings the mirror back into a consistent state. The
lvconvert --repaircommand 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 the
mirror_device_fault_policyparameters in the