> On Jul 18, 2016, at 3:28 PM, Xen <[email protected]> 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 <[email protected]> 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 [email protected] https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
