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

2014-11-19 Thread lee
Karl E. Jorgensen k...@jorgensen.org.uk 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

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,

Re: moving LVM logical volumes to new disks

2014-11-18 Thread lee
Patrick Ouellette poue...@debian.org 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

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 stuck

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 poue...@debian.org 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

Re: moving LVM logical volumes to new disks

2014-11-15 Thread lee
Patrick Ouellette poue...@debian.org 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

Re: moving LVM logical volumes to new disks

2014-11-13 Thread lee
Karl E. Jorgensen k...@jorgensen.org.uk 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

Re: moving LVM logical volumes to new disks

2014-11-13 Thread lee
Igor Cicimov icici...@gmail.com writes: On 13/11/2014 8:27 AM, lee l...@yagibdah.de 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

Re: moving LVM logical volumes to new disks

2014-11-13 Thread lee
Don Armstrong d...@debian.org 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

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 the

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

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 old

Re: moving LVM logical volumes to new disks

2014-11-12 Thread Igor Cicimov
On 13/11/2014 8:27 AM, lee l...@yagibdah.de 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

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 to