Re: moving lv from local VG to a remote VG

2009-10-31 Thread Gilles Mocellin
On Sat, Oct 31, 2009 at 10:57:33AM +0100, Gilles Mocellin wrote: > 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/sdX

Re: moving lv from local VG to a remote VG

2009-10-31 Thread Gilles Mocellin
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 comparin

Re: moving lv from local VG to a remote VG

2009-10-30 Thread Carl Johnson
Israel Garcia writes: > Sorry if it's OT, but we have a debian lenny with a big VG1 a some LVs > inside and want to move all LV's from VG1 to another VG2 located in > other server. Is it possible? > > I've searched the web with no success. It looks like you could just use pvmove to move the dat

Re: moving lv from local VG to a remote VG

2009-10-30 Thread Alex Samad
On Fri, Oct 30, 2009 at 07:54:22PM +0100, Gilles Mocellin wrote: > Le Friday 30 October 2009 06:01:21 Israel Garcia, vous avez écrit : > > Sorry if it's OT, but we have a debian lenny with a big VG1 a some LVs > > inside and want to move all LV's from VG1 to another VG2 located in > > other server

Re: moving lv from local VG to a remote VG

2009-10-30 Thread Andrew Sackville-West
On Fri, Oct 30, 2009 at 10:24:57AM +0100, Javier Barroso wrote: > On Fri, Oct 30, 2009 at 6:01 AM, Israel Garcia wrote: > > Sorry if it's OT, but we have a debian lenny with a big VG1 a some LVs > > inside and want to move all LV's  from VG1 to another VG2 located in > > other server. Is it possib

Re: moving lv from local VG to a remote VG

2009-10-30 Thread Gilles Mocellin
Le Friday 30 October 2009 06:01:21 Israel Garcia, vous avez écrit : > Sorry if it's OT, but we have a debian lenny with a big VG1 a some LVs > inside and want to move all LV's from VG1 to another VG2 located in > other server. Is it possible? > > I've searched the web with no success. > > thanks

Re: moving lv from local VG to a remote VG

2009-10-30 Thread Javier Barroso
On Fri, Oct 30, 2009 at 6:01 AM, Israel Garcia wrote: > Sorry if it's OT, but we have a debian lenny with a big VG1 a some LVs > inside and want to move all LV's  from VG1 to another VG2 located in > other server. Is it possible? - Create LV in VG2 with the same size from LVs in VG1 - cat /dev/VG