* [dm-crypt] dynamic growing volume
@ 2009-09-08 16:41 donotdisturb
2009-09-08 18:25 ` Moji
0 siblings, 1 reply; 5+ messages in thread
From: donotdisturb @ 2009-09-08 16:41 UTC (permalink / raw)
To: dm-crypt
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dynamic growing volume
2009-09-08 16:41 [dm-crypt] dynamic growing volume donotdisturb
@ 2009-09-08 18:25 ` Moji
2009-09-08 18:29 ` donotdisturb
2009-09-09 6:58 ` Milan Broz
0 siblings, 2 replies; 5+ messages in thread
From: Moji @ 2009-09-08 18:25 UTC (permalink / raw)
To: dm-crypt; +Cc: donotdisturb
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
donotdisturb@gmx.net 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 crypted
>
> thx
>
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dynamic growing volume
2009-09-08 18:25 ` Moji
@ 2009-09-08 18:29 ` donotdisturb
2009-09-09 6:58 ` Milan Broz
1 sibling, 0 replies; 5+ messages in thread
From: donotdisturb @ 2009-09-08 18:29 UTC (permalink / raw)
To: 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
M> donotdisturb@gmx.net 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 crypted
>>
>> thx
>>
>> _______________________________________________
>> dm-crypt mailing list
>> dm-crypt@saout.de
>> http://www.saout.de/mailman/listinfo/dm-crypt
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dynamic growing volume
2009-09-08 18:25 ` Moji
2009-09-08 18:29 ` donotdisturb
@ 2009-09-09 6:58 ` Milan Broz
2009-09-10 4:42 ` solarflow99
1 sibling, 1 reply; 5+ messages in thread
From: Milan Broz @ 2009-09-09 6:58 UTC (permalink / raw)
To: Moji; +Cc: dm-crypt, donotdisturb
Moji 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)
>> 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
--
mbroz@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dynamic growing volume
2009-09-09 6:58 ` Milan Broz
@ 2009-09-10 4:42 ` solarflow99
0 siblings, 0 replies; 5+ messages in thread
From: solarflow99 @ 2009-09-10 4:42 UTC (permalink / raw)
To: Milan Broz; +Cc: dm-crypt, donotdisturb, Moji
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
On Wed, Sep 9, 2009 at 2:58 PM, Milan Broz <mbroz@redhat.com> wrote:
> Moji 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
- 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.
[-- Attachment #2: Type: text/html, Size: 1476 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-09-10 4:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08 16:41 [dm-crypt] dynamic growing volume donotdisturb
2009-09-08 18:25 ` Moji
2009-09-08 18:29 ` donotdisturb
2009-09-09 6:58 ` Milan Broz
2009-09-10 4:42 ` solarflow99
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.