Bug#811033: Workaround

Adam McKenna adam at flounder.net
Fri May 20 03:02:13 UTC 2016


So to save everyone else the hour and a half I spent figuring out how to
fix this, here's what you need to do:

# lvconvert --mirrors -1 <lv device> <pv_device>
# vgchange -ay
# lvconvert -m 1 <lv_device>

Where lv_device is the device that's having issues, and <pv_device> is the
SECONDARY device on the RAID1 mierror.

This will throw a warning, but will remove the secondary device.

vgchange should then be able to bring up the (now un-mirrored) volumes.

 After vgchange, run lvconvert again to add the mirror back.  This requires
a resync.

The above has to be done after every reboot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160519/4d011978/attachment-0001.html>


More information about the pkg-lvm-maintainers mailing list