On Feb 19, 2012 4:37 PM, "Daniel Shahaf" <d...@daniel.shahaf.name> wrote: > > Omer Zak wrote on Sun, Feb 19, 2012 at 04:03:05 +0200: > > My PC has a 500GB hard disk, and I want to migrate it to a 2TB hard > > disk. > > The new hard disk has been formatted to have two physical partitions, > > one serves as /boot and the other is an encrypted LVM volume, which has > > its own division into logical partitions. > > > > I rsync'ed the old hard disk's contents into the new one (excluding > ... > > 2. Is there any guide about migrating a Debian Squeeze system inside an > > encrypted LVM partition from one hard disk to another hard disk? > > One thing that jumps to mind: given that the old disk uses LVM too, you > could transition the LV's from the old disk to the new one by using LVM > tools. > > I don't recall the exact commands, but I suppose it's along the lines of > "convert the LV to a mirror (with one PV on the small disk and one PV on > the new one), then tell LVM to retire the old disk's PV's."
No need for that. Vgmove then remove the old PV from the VG before disconnecting it. > > HTH. I'm not sure how this interacts with the boot parts of the > equation or with encrypted partitions. > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il