[CentOS] Moving logical volumes

John R Pierce pierce at hogranch.com
Sun Jun 29 08:06:46 UTC 2008

Frank Büttner wrote:
> Hello,
> exist there an standard way to move an logical volume from one volume 
> group to another one?

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)

More information about the CentOS mailing list