Re: export/migrate - but only a LV - how?

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

 



> On Jul 18, 2016, at 3:28 PM, Xen <list@xenhideout.nl> wrote:
> 
> Brassow Jonathan schreef op 18-07-2016 17:50:
>> maybe pvmove the LV to a unique device and then vgsplit?
>> brassow
>>> On Jul 12, 2016, at 10:23 AM, lejeczek <peljasz@yahoo.co.uk> wrote:
>>> .. if possible?
> 
> 
> Shouldn't you in general just recreate the LV with the same amount of extents and then perform a DD?
> 
> I realize an atomic move operation for an LV could conceptually be nice but apart from the mental effort required to do this recreation manually, there is not much practically in the way of doing it yourself.
> 
> In the end, it would be nothing more than a shell script doing an LVCREATE, DD, and LVREMOVE?

One advantage is that pvmove allows you to keep the device online...  We are also working on a feature ATM called “duplicate”.  It allows you to create a duplicate of any LV stack, create the duplicate where you want, and even change the segment type in the process.  For example, you could move a whole RAID5 LV, or thin-p, in one go.

 brassow

_______________________________________________
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