dynamic growing volume
hi..
is it possible to create a dynamic growing crypted volume ? i know that its possible with lvm and xfs..
but im not sure what happens if its crypted
thx
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.
-MJ
Quoted 13 lines · [email protected] wrote:
hi..
is it possible to create a dynamic growing crypted volume ? i know that its possible with lvm and xfs..
but im not sure what happens if its cryptedthx
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
i need a pw for each user not one big crypted storage
M> If you create LVM OVER encrypted LUKS partitions, you should be able to M> use the LVM/FS commands to re-size a volume as you normally would.
M> This also breaks up the encryption by using different master keys for M> each partition.
M> -MJ
Quoted 13 lines · M> [email protected] wrote:
Quoted 13 lines
hi..
is it possible to create a dynamic growing crypted volume ? i know that its possible with lvm and xfs..
but im not sure what happens if its cryptedthx
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
Quoted 5 lines · Moji
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)
Quoted 3 lines
Quoted 3 lines
is it possible to create a dynamic growing crypted volume ? i know that its possible with lvm and xfs..
but im not sure what happens if its crypted
Milan
--
[email protected]
Quoted 4 lines · Milan Broz
Quoted 3 lines · Moji
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.
Quoted 9 lines
Quoted 2 lines
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
- cryptsetup luksClose 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.