[CentOS] Moving logical volumes
William L. Maltby
CentOS4Bill at triad.rr.com
Sun Jun 29 18:25:36 UTC 2008
On Sun, 2008-06-29 at 09:13 -0700, John R Pierce wrote:
> 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?!?
Since the OP still hasn't clarified his objective, nor provided more
detail about original config, I am free to imagine the most permissive
Answering your Q, "man vgmerge".
Will it do what he wants? No way to tell. But if he has only one lv in
the source vg, ...
More information about the CentOS