[linux-lvm] replacing a failling disk on a mirrred VG.

Jonathan E Brassow jbrassow at redhat.com
Thu Feb 8 08:51:02 UTC 2007

On Feb 6, 2007, at 11:41 AM, Steve Wray wrote:

> Jonathan E Brassow wrote:
>> This one should be pretty easy...
>> Effectively, you want to keep the primary mirror devices, so do:
>> lvconvert -m0 <vg/lv>
>> to down convert them to linear devices.
>> Then remove PV1 (vgreduce), add a new disk to your system, add it to 
>> your vg (vgextend), and finally, up-convert the linear devices to 
>> mirrors again:
>> lvconvert -m1 <vg/lv>
> So you can't just add a new disk and use pvmove to move extents off of 
> the failing disk?

You could if it was a linear device, but we are still working on the 
proper stacking of mirrors.


More information about the linux-lvm mailing list