Re: cloning a lvm crypto volume to a bigger disk

2011-07-07 Thread Jochen Schulz
Colin: Wow ... now I have a lot to do :-) Hey, it's only about seven comands, plus some file editing. :) Don't let my lengthy explanations scare you from doing it that way. It's a great feeling to shuffle an OS around under your butt while it's running! Just glancing through I'm thinking if I

Re: cloning a lvm crypto volume to a bigger disk

2011-07-07 Thread tv.deb...@googlemail.com
07/07/2011 08:35, Jochen Schulz wrote: Colin: [trim] I guess if I didn't have it I would need a separate dm-crypt and LUKS partition for each of /, /home and swap which in turn would mean 3 separate keys + passwords. Yes. You could get away with only one passphrase if you put key files for

Re: cloning a lvm crypto volume to a bigger disk

2011-07-06 Thread Jochen Schulz
Colin: I want to move the crypto volume to new disk so I can use it and boot from the new. Thanks for the information. Now I know what your setup looks like. I am still a bit unsure about your exact partition layout, because I didn't ask for that either, but AFAICS you have at least this: -

Re: cloning a lvm crypto volume to a bigger disk

2011-07-06 Thread Colin
Wow ... now I have a lot to do :-) Just glancing through I'm thinking if I even need LVM. It was done automatically by the installer. I guess if I didn't have it I would need a separate dm-crypt and LUKS partition for each of /, /home and swap which in turn would mean 3 separate keys + passwords.

cloning a lvm crypto volume to a bigger disk

2011-07-05 Thread Colin
Hi all, So I have this machine with a lvm crypto volume done with a debian testing install. This is on a disk with 160GB. But now I would like to clone it to a new disk: 500GB. What are my options? I thought about using clonezilla but I don't think it could resize a lvm crypto volume... Cheers,

Re: cloning a lvm crypto volume to a bigger disk

2011-07-05 Thread Jochen Schulz
Colin: So I have this machine with a lvm crypto volume done with a debian testing install. This is on a disk with 160GB. But now I would like to clone it to a new disk: 500GB. What are my options? What's the order of the block layers? - LVM on top of dm-crypt on top of raw device, or -

Re: cloning a lvm crypto volume to a bigger disk

2011-07-05 Thread Colin
On Tue, Jul 5, 2011 at 10:57 AM, Jochen Schulz m...@well-adjusted.de wrote: Colin: So I have this machine with a lvm crypto volume done with a debian testing install. This is on a disk with 160GB. But now I would like to clone it to a new disk: 500GB. What are my options? What's the order

Re: cloning a lvm crypto volume to a bigger disk

2011-07-05 Thread Jochen Schulz
Colin: I don't remember the specifics when I did the install but here's what I got: Thanks. Now please add the output of 'pvs', 'lvs'. And just to make sure: you only want to move the encrypted volume to the new disk and keep the old one? J. -- I use a Playstation to block out the existence

Re: cloning a lvm crypto volume to a bigger disk

2011-07-05 Thread Jochen Schulz
Jochen Schulz: Colin: I don't remember the specifics when I did the install but here's what I got: Thanks. Now please add the output of 'pvs', 'lvs'. Erm, that probably sounded rude. What I forgot to add is that I should have asked for this information in the first place. Sorry! J. --

Re: cloning a lvm crypto volume to a bigger disk

2011-07-05 Thread Colin
On Tue, Jul 5, 2011 at 5:52 PM, Jochen Schulz m...@well-adjusted.de wrote: Colin: I don't remember the specifics when I did the install but here's what I got: Thanks. Now please add the output of 'pvs', 'lvs'. And just to make sure: you only want to move the encrypted volume to the new disk