[CentOS] Moving logical volumes

John R Pierce pierce at hogranch.com
Sun Jun 29 16:13:22 UTC 2008


Frank Büttner wrote:
> John R Pierce schrieb:
>> assuming this logical volume containss extfs, dump(8) it on one, 
>> restore(8) it on the other.   this can be combined with a pipe, 
>> like.... # dump 0 -f - /dev/volgroup/logvol | (cd /dest; restore -rf - )
>>
>> (this assumes the new logical volume has been created, has a virgin 
>> filesystem fresh from mkfs, and is mounted)
>
> This will be possible.
> Exist there no way to do this without moving the data?

a different volgroup implies different physical drives...   how would 
you expect to move a logical volume from one volgroup to another without 
moving the data contained in said logvol?!?






More information about the CentOS mailing list