Re: LVM: shrinking a logical volume (moving LVM logical volumes to new disks)

2014-11-19 Thread lee
"Karl E. Jorgensen" writes: > Hi > > On Wed, Nov 19, 2014 at 12:24:27AM +0100, lee wrote: >> Hi, >> >> so far, I managed to pvmove a LV to my USB stick and from there to a >> backup disk in another machine. Doing so, I found that I can split off >> LVs from a volume group and that this inevitab

Re: LVM: shrinking a logical volume (moving LVM logical volumes to new disks)

2014-11-18 Thread Karl E. Jorgensen
Hi On Wed, Nov 19, 2014 at 12:24:27AM +0100, lee wrote: > Hi, > > so far, I managed to pvmove a LV to my USB stick and from there to a > backup disk in another machine. Doing so, I found that I can split off > LVs from a volume group and that this inevitably creates a new VG. That > leaves you

Re: moving LVM logical volumes to new disks

2014-11-18 Thread lee
Patrick Ouellette writes: >> How do I make the VMs bootable after copying them back? >> > > Maybe try a SuperGrub Boot Disk (or USB drive) if you are using GRUB. > > I would probably install on a minimal system on the new disks so they are > bootable, create the new volumes, rsync, move to the de

LVM: shrinking a logical volume (moving LVM logical volumes to new disks)

2014-11-18 Thread lee
Hi, so far, I managed to pvmove a LV to my USB stick and from there to a backup disk in another machine. Doing so, I found that I can split off LVs from a volume group and that this inevitably creates a new VG. That leaves you stuck because it's impossible to move a LV from one VG to another, an

Re: moving LVM logical volumes to new disks

2014-11-16 Thread Patrick Ouellette
On Sat, Nov 15, 2014 at 09:53:40PM +0100, lee wrote: > Patrick Ouellette writes: > > > On Thu, Nov 13, 2014 at 08:52:58PM +0100, lee wrote: > >> > >> Fortunately, downtime isn't an issue. I also have a 32GB USB stick, and > >> all the LVs are smaller than 32GB. > >> > >> Since there seems to b

Re: moving LVM logical volumes to new disks

2014-11-15 Thread lee
Patrick Ouellette writes: > On Thu, Nov 13, 2014 at 08:52:58PM +0100, lee wrote: >> >> Fortunately, downtime isn't an issue. I also have a 32GB USB stick, and >> all the LVs are smaller than 32GB. >> >> Since there seems to be some agreement that it would be best to use >> pvmove, I think I co

Re: moving LVM logical volumes to new disks

2014-11-13 Thread Patrick Ouellette
On Thu, Nov 13, 2014 at 08:52:58PM +0100, lee wrote: > > Fortunately, downtime isn't an issue. I also have a 32GB USB stick, and > all the LVs are smaller than 32GB. > > Since there seems to be some agreement that it would be best to use > pvmove, I think I could, one after the other, move all t

Re: moving LVM logical volumes to new disks

2014-11-13 Thread lee
Don Armstrong writes: > On Wed, 12 Nov 2014, lee wrote: >> what's the best way to move existing logical volumes or a whole volume >> group to new disks? >> >> The target disks cannot be installed at the same time as the source >> disks. I will have to make some sort of copy over the network to

Re: moving LVM logical volumes to new disks

2014-11-13 Thread lee
Igor Cicimov writes: > On 13/11/2014 8:27 AM, "lee" wrote: >> >> Hi, >> >> what's the best way to move existing logical volumes or a whole volume >> group to new disks? >> >> The target disks cannot be installed at the same time as the source >> disks. I will have to make some sort of copy over

Re: moving LVM logical volumes to new disks

2014-11-13 Thread lee
"Karl E. Jorgensen" writes: > Hi > > On Wed, Nov 12, 2014 at 10:09:43PM +0100, lee wrote: >> Hi, >> >> what's the best way to move existing logical volumes or a whole volume >> group to new disks? >> >> The target disks cannot be installed at the same time as the source >> disks. I will have t

Re: moving LVM logical volumes to new disks

2014-11-12 Thread Karl E. Jorgensen
Hi On Wed, Nov 12, 2014 at 10:09:43PM +0100, lee wrote: > Hi, > > what's the best way to move existing logical volumes or a whole volume > group to new disks? > > The target disks cannot be installed at the same time as the source > disks. I will have to make some sort of copy over the network

Re: moving LVM logical volumes to new disks

2014-11-12 Thread Igor Cicimov
On 13/11/2014 8:27 AM, "lee" wrote: > > Hi, > > what's the best way to move existing logical volumes or a whole volume > group to new disks? > > The target disks cannot be installed at the same time as the source > disks. I will have to make some sort of copy over the network to > another machine

Re: moving LVM logical volumes to new disks

2014-11-12 Thread Don Armstrong
On Wed, 12 Nov 2014, lee wrote: > what's the best way to move existing logical volumes or a whole volume > group to new disks? > > The target disks cannot be installed at the same time as the source > disks. I will have to make some sort of copy over the network to > another machine, remove the o

moving LVM logical volumes to new disks

2014-11-12 Thread lee
Hi, what's the best way to move existing logical volumes or a whole volume group to new disks? The target disks cannot be installed at the same time as the source disks. I will have to make some sort of copy over the network to another machine, remove the old disks, install the new disks and put