[Swlug] lvm - moving data

Neil Greenwood neil.greenwood.lug at gmail.com
Tue Jun 2 05:58:49 UTC 2015


If they are in the same logical volume, it's more difficult.

There are some low-level LVM commands that do it, but normally with LVM you should just forget where your data is actually stored. I did it once to move some data from a mechanical disk to a SSD. It's much easier if they are separate volume groups though...


Neil

On 1 June 2015 07:42:05 BST, Matt Moore <matt at matthewmoore.org.uk> wrote:
>Use rsync? It can run daemonised in the background. Once they're synced
>up just change them.
>
>cheers 
>
>Matt 
>
>On 1 June 2015 01:34:36 GMT+01:00, 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
>
>-- 
>Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Swlug mailing list
>Swlug at mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/swlug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20150602/6fff4c0a/attachment-0001.html>


More information about the Swlug mailing list