Re: Moving logical volumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
situation.

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, ...

> <snip>

-- 
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux