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

Harald Milz hm at seneca.muc.de
Wed Dec 31 08:31:16 UTC 2008

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

More information about the linux-lvm mailing list