[Swlug] lvm - moving data

Matt Willsher matt at monki.org.uk
Tue Jun 2 11:30:08 UTC 2015


Yes, this is quite straight forward - see the pvmove man page. pvmove will
move the physical extents from one PV to another and continue after reboot
etc.
Matt

On 1 June 2015 at 01:34, bascule <asura at theexcession.co.uk> wrote:

> if i have two physical disks in the same logical volume is it possible to
> have
> the data move from one of them to the other in the background, pausing
> when i
> turn my machine off and starting when i turn on again.
> i ask because i have a 2tb drive in my machine as /home and i wish to add
> another 2 tb drive and use that as /home instead, since copying 2tb can
> take a
> while i wondered if i could have it done in the background while i still
> use
> the computer, both drives are fine so this isn't a rescue operation, the
> newer
> drive i have acquired is simply just that, newer with a much lower power up
> time
>
> bascule
>
> _______________________________________________
> Swlug mailing list
> Swlug at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/swlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20150602/2d54ef77/attachment-0003.html>


More information about the Swlug mailing list