On Wed, Sep 9, 2009 at 2:58 PM, Milan Broz <mbroz@xxxxxxxxxx> wrote:
thats neat, I wonder how btrfs is going to affect this, it might make LVM redundant? BTW, thanks for the last message, I got things to work because of your help, here's how I did it:
-cd /dev/mapper
- e2fsck -f luks-vg1-lvfiles
- resize2fs luks-vg1-lvfiles
- cryptsetup luksClose luks-vg1-lvfilesMoji wrote:
> If you create LVM OVER encrypted LUKS partitions, you should be able to
> use the LVM/FS commands to re-size a volume as you normally would.
>
> This also breaks up the encryption by using different master keys for
> each partition.
You probably want to create LUKS over LV (LUKS over LVM) and after normal
LVM resize just issue cryptsetup resize.
(one day LVM will support manipulation with encrypted volumes directly)
thats neat, I wonder how btrfs is going to affect this, it might make LVM redundant? BTW, thanks for the last message, I got things to work because of your help, here's how I did it:
-cd /dev/mapper
- e2fsck -f luks-vg1-lvfiles
- resize2fs luks-vg1-lvfiles
- lvreduce -L -4G /dev/vg1/LVfiles
- cryptsetup lukeOpen /dev/vg1/LVfiles luks-vg1-lvfiles
- resize2fs luks-vg1-lvfiles
to resize the root LV, I just used the rescue CD but had to copy the LVM commands on a USB drive since they dont seem to be included for some strange reason.
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt