[linux-lvm] Re: Convert a non-striped LV to a striped LV without data loss?

Doug Eubanks admin at dougware.net
Wed Dec 31 15:53:36 UTC 2008

I tried moving every third extend with an offset of 1 to the second physical
volume, and every third extend with and offset of 2 to the third physical
volume, but I ran out of metadata space about 45% through the move.

I've setup a file based metadata directory, and I'm going to try to complete
the move again.

Doug Eubanks
admin at dougware.net

On Wed, Dec 31, 2008 at 3:31 AM, Harald Milz <hm at seneca.muc.de> wrote:

> On Tue, Dec 30, 2008 at 01:14:26PM -0500, Doug Eubanks wrote:
> > Would it be possible to extend the linear lv onto a striped lv area, move
> > the data to the new extents and then remove the old lv area using
> lvreduce
> > perhaps?
> Oh, that. Yes, perfectly. Add the new PVs to the VG using vgextend, then
> create whatever LV layout you need on the new PVs (lvcreate ... -i ... PV),
> mkfs, then copy the data to the new filesystems, rearrange mountpoints,
> then vgreduce the old PV from the VG.  Done. But not on-line... you can
> move LVs to another PV within a VG, but you can't convert a normal LV to a
> striped one.
> --
> Die, v.:
>        To stop sinning suddenly.
>                -- Elbert Hubbard
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20081231/21f6f495/attachment.htm>

More information about the linux-lvm mailing list