Re: Re: Convert a non-striped LV to a striped LV without data loss?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux