<div dir="ltr">thanks for the reply , but wouldn't that merge LV's from two different volume groups and for some weird requirement I wanted to merge LV's from the same VG , say <div><br></div><div>merge /dev/vg0/data and /dev/vg0/data1 into a  merged volume without any data loss .<br>
<br><div class="gmail_quote">On Mon, Sep 10, 2012 at 4:02 PM, Fran Garcia <span dir="ltr"><<a href="mailto:franchu.garcia@gmail.com" target="_blank">franchu.garcia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Sep 5, 2012 at 1:16 PM, tariq wali <<a href="mailto:ganaiwali@gmail.com">ganaiwali@gmail.com</a>> wrote:<br>
> Hi, I had a situation to combine two LVM's on the same VG , other than<br>
> wiping the existing ones and recreating a new one is there a way to merge<br>
> the two on same VG ?<br>
<br>
</div></div>vgmerge.  You need to have the source VG with all your LVs inactive<br>
and the PE size must be the same in both VGs.<br>
<br>
<br>
Basically this would be:<br>
<br>
lvchange -a n /dev/vg02/lv01<br>
lvchange -a n /dev/vg02/lv02<br>
lvchange -a n /dev/vg02/lv03<br>
...<br>
vgmerge vg01 vg02<br>
vgchange -ay<br>
<br>
<br>
this would put all the LVs from vg02 into the vg01 VG.<br>
<br>
HTH<br>
<br>
_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><i style="background-color:rgb(255,0,0);color:rgb(0,102,0)">Tariq Wali.</i><span><span style="background-color:rgb(255,255,153)"></span></span><br>
</div><br>
</div></div>