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

Re: moving lv from local VG to a remote VG



On Sat, Oct 31, 2009 at 07:12:10AM +1100, Alex Samad wrote:

[...]

> > 3) move the data to the external disk with pvmove (2 solutions)
> >     - pvmove -n LV1 /dev/sdXY for each LV or
> >     - pvmove /dev/sdAB /dev/sdXY for each PV in VG1 (if there is only one, 
> > it's just one command comparing to solution 1)
> 
> aren't you missing a step to that the pv out of the vggroup ?

Yes, it's possible.
    - vgreduce VG1 /dev/sdXY

But, if he deletes VG1 after, it's not necessary to remove the PV.

> > 4) deactivate VG1 on server 1
> >      - vgchange -a n VG1 (you can delete it after, I don't think it's wise to 
> > delete it now)

[...]

Unless you speak about the PV on the external disk.
Here, I must admit that I don't know if the data will be still there if
we do a vgreduce of the PV containing it.

I will do a test, as I want to know if what I said is possible !
Soon here.

Attachment: signature.asc
Description: Digital signature


Reply to: