Bug#811033: Correctly create mirrored lvm

Gerasimos Melissaratos gmelis at mikroskosmos.gr
Tue Jun 28 18:14:01 UTC 2016


It almost ruined my day, but the solution is simple: when creating the
mirror use "--mirrorlog mirrored --alloc anywhere".
In the case of a configured lvm mirror, you can follow a procedure like
this:

lvconvert -m 0 <LV Path>
lvconvert -m 1 --mirrorlog mirrored --alloc anywhere <LV Path>

For example, in my case it was

lvconvert -m 0 /dev/vg0/lv0
lvconvert -m 1 --mirrorlog mirrored --alloc anywhere /dev/vg0/lv0


-- 
--
<signature>
  <name>   Gerasimos Melissaratos      </name>
  <title>  Systems Administrator       </title>
  <tel>    +306979045121               </tel>
</signature>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160628/311ddb2c/attachment-0001.html>


More information about the pkg-lvm-maintainers mailing list