* [linux-lvm] where do i find the device mapper/LVM2 documentation?
@ 2003-05-27 4:26 Jon Bendtsen
2003-05-27 5:07 ` Joe Thornber
0 siblings, 1 reply; 24+ messages in thread
From: Jon Bendtsen @ 2003-05-27 4:26 UTC (permalink / raw)
To: linux-lvm
Hi there, i'm looking for documentation for the device mapper/lvm2 in
the linux 2.5/6 kernel.
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-27 4:26 [linux-lvm] where do i find the device mapper/LVM2 documentation? Jon Bendtsen
@ 2003-05-27 5:07 ` Joe Thornber
2003-05-27 5:27 ` Jon Bendtsen
0 siblings, 1 reply; 24+ messages in thread
From: Joe Thornber @ 2003-05-27 5:07 UTC (permalink / raw)
To: linux-lvm
On Tue, May 27, 2003 at 11:26:22AM +0200, Jon Bendtsen wrote:
> Hi there, i'm looking for documentation for the device mapper/lvm2 in
> the linux 2.5/6 kernel.
i) Enable dm in the kernel config.
ii) Install libdevmapper from the latest device-mapper release at www.sistina.com
iii) Install LVM2 tools.
There is more documentation in the device-mapper and LVM2 packages.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-27 5:07 ` Joe Thornber
@ 2003-05-27 5:27 ` Jon Bendtsen
2003-05-27 5:49 ` Joe Thornber
0 siblings, 1 reply; 24+ messages in thread
From: Jon Bendtsen @ 2003-05-27 5:27 UTC (permalink / raw)
To: linux-lvm
Joe Thornber wrote:
> On Tue, May 27, 2003 at 11:26:22AM +0200, Jon Bendtsen wrote:
>
>>Hi there, i'm looking for documentation for the device mapper/lvm2 in
>>the linux 2.5/6 kernel.
>
>
> i) Enable dm in the kernel config.
> ii) Install libdevmapper from the latest device-mapper release at www.sistina.com
> iii) Install LVM2 tools.
>
> There is more documentation in the device-mapper and LVM2 packages.
i downloaded devicemapper.?.98?.tar.gz or something (the latest one) and
i dont find much documentation in that, though i have looked into the
INTRO file i didnt find others that from name appeared to be documentation.
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-27 5:27 ` Jon Bendtsen
@ 2003-05-27 5:49 ` Joe Thornber
2003-05-27 17:08 ` Debian User
0 siblings, 1 reply; 24+ messages in thread
From: Joe Thornber @ 2003-05-27 5:49 UTC (permalink / raw)
To: linux-lvm
On Tue, May 27, 2003 at 12:27:48PM +0200, Jon Bendtsen wrote:
> Joe Thornber wrote:
> >On Tue, May 27, 2003 at 11:26:22AM +0200, Jon Bendtsen wrote:
> >
> >>Hi there, i'm looking for documentation for the device mapper/lvm2 in
> >>the linux 2.5/6 kernel.
> >
> >
> >i) Enable dm in the kernel config.
> >ii) Install libdevmapper from the latest device-mapper release at
> >www.sistina.com
> >iii) Install LVM2 tools.
> >
> >There is more documentation in the device-mapper and LVM2 packages.
>
> i downloaded devicemapper.?.98?.tar.gz or something (the latest one) and
> i dont find much documentation in that, though i have looked into the
> INTRO file i didnt find others that from name appeared to be documentation.
What exactly do you want to know ?
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-27 5:49 ` Joe Thornber
@ 2003-05-27 17:08 ` Debian User
2003-05-27 17:53 ` Joe Thornber
0 siblings, 1 reply; 24+ messages in thread
From: Debian User @ 2003-05-27 17:08 UTC (permalink / raw)
To: linux-lvm
On Tue, May 27, 2003 at 11:49:59AM +0100, Joe Thornber wrote:
> On Tue, May 27, 2003 at 12:27:48PM +0200, Jon Bendtsen wrote:
> > Joe Thornber wrote:
> > >On Tue, May 27, 2003 at 11:26:22AM +0200, Jon Bendtsen wrote:
> > >
> > >>Hi there, i'm looking for documentation for the device mapper/lvm2 in
> > >>the linux 2.5/6 kernel.
> > >
> > >
> > >i) Enable dm in the kernel config.
> > >ii) Install libdevmapper from the latest device-mapper release at
> > >www.sistina.com
> > >iii) Install LVM2 tools.
> > >
> > >There is more documentation in the device-mapper and LVM2 packages.
> >
> > i downloaded devicemapper.?.98?.tar.gz or something (the latest one) and
> > i dont find much documentation in that, though i have looked into the
> > INTRO file i didnt find others that from name appeared to be documentation.
>
> What exactly do you want to know ?
How it is built up. Detailed information explaining to me how i can expand
it, stuff like that. The LVM1 howto has a part that describes how the LVM1
is built up piece by piece, Physical Volumes, Physical Extends, ...
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-27 17:08 ` Debian User
@ 2003-05-27 17:53 ` Joe Thornber
2003-05-28 3:52 ` Jon Bendtsen
0 siblings, 1 reply; 24+ messages in thread
From: Joe Thornber @ 2003-05-27 17:53 UTC (permalink / raw)
To: linux-lvm
On Wed, May 28, 2003 at 12:09:01AM +0200, Debian User wrote:
> On Tue, May 27, 2003 at 11:49:59AM +0100, Joe Thornber wrote:
> > On Tue, May 27, 2003 at 12:27:48PM +0200, Jon Bendtsen wrote:
> > > Joe Thornber wrote:
> > > >On Tue, May 27, 2003 at 11:26:22AM +0200, Jon Bendtsen wrote:
> > > >
> > > >>Hi there, i'm looking for documentation for the device mapper/lvm2 in
> > > >>the linux 2.5/6 kernel.
> > > >
> > > >
> > > >i) Enable dm in the kernel config.
> > > >ii) Install libdevmapper from the latest device-mapper release at
> > > >www.sistina.com
> > > >iii) Install LVM2 tools.
> > > >
> > > >There is more documentation in the device-mapper and LVM2 packages.
> > >
> > > i downloaded devicemapper.?.98?.tar.gz or something (the latest one) and
> > > i dont find much documentation in that, though i have looked into the
> > > INTRO file i didnt find others that from name appeared to be documentation.
> >
> > What exactly do you want to know ?
>
> How it is built up. Detailed information explaining to me how i can expand
> it, stuff like that. The LVM1 howto has a part that describes how the LVM1
> is built up piece by piece, Physical Volumes, Physical Extends, ...
LVM2 uses the same model, the difference is it uses dm to implement
it. Read the dmsetup man page for more info on how dm works.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-27 17:53 ` Joe Thornber
@ 2003-05-28 3:52 ` Jon Bendtsen
2003-05-28 4:09 ` Joe Thornber
2003-05-29 7:09 ` Jason H. Smith
0 siblings, 2 replies; 24+ messages in thread
From: Jon Bendtsen @ 2003-05-28 3:52 UTC (permalink / raw)
To: linux-lvm
Joe Thornber wrote:
> On Wed, May 28, 2003 at 12:09:01AM +0200, Debian User wrote:
>
>>On Tue, May 27, 2003 at 11:49:59AM +0100, Joe Thornber wrote:
[cut]
>>>What exactly do you want to know ?
>>
>>How it is built up. Detailed information explaining to me how i can expand
>>it, stuff like that. The LVM1 howto has a part that describes how the LVM1
>>is built up piece by piece, Physical Volumes, Physical Extends, ...
>
>
> LVM2 uses the same model, the difference is it uses dm to implement
> it. Read the dmsetup man page for more info on how dm works.
Okay? thats not the impression i got from reading what documentation i
could find (INTRO and dmsetup.8).
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-28 3:52 ` Jon Bendtsen
@ 2003-05-28 4:09 ` Joe Thornber
2003-05-29 7:09 ` Jason H. Smith
1 sibling, 0 replies; 24+ messages in thread
From: Joe Thornber @ 2003-05-28 4:09 UTC (permalink / raw)
To: linux-lvm
On Wed, May 28, 2003 at 10:52:49AM +0200, Jon Bendtsen wrote:
> Okay? thats not the impression i got from reading what documentation i
> could find (INTRO and dmsetup.8).
The driver is very different, but the userland tools still have
exactly the same concepts of extents, PVs, LVs and VGs. The LVM2
tools have a few extra features, but other than that they are
identical in use to the LVM1 ones.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-28 3:52 ` Jon Bendtsen
2003-05-28 4:09 ` Joe Thornber
@ 2003-05-29 7:09 ` Jason H. Smith
2003-05-29 7:26 ` Daniel Phillips
1 sibling, 1 reply; 24+ messages in thread
From: Jason H. Smith @ 2003-05-29 7:09 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 205 bytes --]
> >>How it is built up. Detailed information explaining to me how i can
> >> expand it, stuff like that.
May I suggest the source code?
--
Jason Smith
Open Enterprise Systems
Bangkok, Thailand
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 7:09 ` Jason H. Smith
@ 2003-05-29 7:26 ` Daniel Phillips
2003-05-29 13:38 ` Debian User
2003-05-29 16:20 ` Joe Thornber
0 siblings, 2 replies; 24+ messages in thread
From: Daniel Phillips @ 2003-05-29 7:26 UTC (permalink / raw)
To: linux-lvm, Jason H. Smith
On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > >>How it is built up. Detailed information explaining to me how i can
> > >> expand it, stuff like that.
>
> May I suggest the source code?
One can always suggest the source code, and without understating the value of
that, we can and will do better.
Regards,
Daniel
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 7:26 ` Daniel Phillips
@ 2003-05-29 13:38 ` Debian User
2003-05-29 15:06 ` Daniel Phillips
2003-05-29 16:20 ` Joe Thornber
1 sibling, 1 reply; 24+ messages in thread
From: Debian User @ 2003-05-29 13:38 UTC (permalink / raw)
To: linux-lvm; +Cc: Jason H. Smith
On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > > >>How it is built up. Detailed information explaining to me how i can
> > > >> expand it, stuff like that.
> >
> > May I suggest the source code?
>
> One can always suggest the source code, and without understating the value of
> that, we can and will do better.
I'm sorry, you lost me somewhere? I dont mind looking at the code, but
other documentation is nice too.
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 13:38 ` Debian User
@ 2003-05-29 15:06 ` Daniel Phillips
0 siblings, 0 replies; 24+ messages in thread
From: Daniel Phillips @ 2003-05-29 15:06 UTC (permalink / raw)
To: linux-lvm, Debian User; +Cc: Jason H. Smith
On Thursday 29 May 2003 20:38, Debian User wrote:
> On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> > On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > > > >>How it is built up. Detailed information explaining to me how i can
> > > > >> expand it, stuff like that.
> > >
> > > May I suggest the source code?
> >
> > One can always suggest the source code, and without understating the
> > value of that, we can and will do better.
>
> I'm sorry, you lost me somewhere? I dont mind looking at the code, but
> other documentation is nice too.
Sorry if I wasn't clear. We're violently agreeing.
Regards,
Daniel
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 7:26 ` Daniel Phillips
2003-05-29 13:38 ` Debian User
@ 2003-05-29 16:20 ` Joe Thornber
2003-05-29 17:02 ` jon+lvm
1 sibling, 1 reply; 24+ messages in thread
From: Joe Thornber @ 2003-05-29 16:20 UTC (permalink / raw)
To: linux-lvm
On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > > >>How it is built up. Detailed information explaining to me how i can
> > > >> expand it, stuff like that.
If you're interested in writing your own targets I suggest you look at
a couple of the trivial targets that already exist. Such as
dm-linear.c, dm-stripe.c.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 16:20 ` Joe Thornber
@ 2003-05-29 17:02 ` jon+lvm
2003-05-29 17:53 ` Daniel Phillips
2003-05-30 2:49 ` Joe Thornber
0 siblings, 2 replies; 24+ messages in thread
From: jon+lvm @ 2003-05-29 17:02 UTC (permalink / raw)
To: linux-lvm
On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> > On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > > > >>How it is built up. Detailed information explaining to me how i can
> > > > >> expand it, stuff like that.
>
> If you're interested in writing your own targets I suggest you look at
> a couple of the trivial targets that already exist. Such as
> dm-linear.c, dm-stripe.c.
i am planning to write my own targets as a graduate project.
My idea was encryption and possibly compression as well.
(is anyone else doing any of these targets?)
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 17:02 ` jon+lvm
@ 2003-05-29 17:53 ` Daniel Phillips
2003-05-30 2:23 ` jon+lvm
2003-05-30 2:49 ` Joe Thornber
1 sibling, 1 reply; 24+ messages in thread
From: Daniel Phillips @ 2003-05-29 17:53 UTC (permalink / raw)
To: linux-lvm, jon+lvm
On Friday 30 May 2003 00:02, jon+lvm@silicide.dk wrote:
> On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> > On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> > > On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > > > > >>How it is built up. Detailed information explaining to me how i
> > > > > >> can expand it, stuff like that.
> >
> > If you're interested in writing your own targets I suggest you look at
> > a couple of the trivial targets that already exist. Such as
> > dm-linear.c, dm-stripe.c.
>
> i am planning to write my own targets as a graduate project.
> My idea was encryption and possibly compression as well.
> (is anyone else doing any of these targets?)
Not as far as I know - it's considered good though.
Regards,
Daniel
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 17:53 ` Daniel Phillips
@ 2003-05-30 2:23 ` jon+lvm
2003-05-30 8:03 ` Daniel Phillips
0 siblings, 1 reply; 24+ messages in thread
From: jon+lvm @ 2003-05-30 2:23 UTC (permalink / raw)
To: linux-lvm
On Fri, May 30, 2003 at 12:54:07AM +0200, Daniel Phillips wrote:
> On Friday 30 May 2003 00:02, jon+lvm@silicide.dk wrote:
> > On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> > > On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> > > > On Wednesday 28 May 2003 11:42, Jason H. Smith wrote:
> > > > > > >>How it is built up. Detailed information explaining to me how i
> > > > > > >> can expand it, stuff like that.
> > >
> > > If you're interested in writing your own targets I suggest you look at
> > > a couple of the trivial targets that already exist. Such as
> > > dm-linear.c, dm-stripe.c.
> >
> > i am planning to write my own targets as a graduate project.
> > My idea was encryption and possibly compression as well.
> > (is anyone else doing any of these targets?)
>
> Not as far as I know - it's considered good though.
What is considered good ?
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-29 17:02 ` jon+lvm
2003-05-29 17:53 ` Daniel Phillips
@ 2003-05-30 2:49 ` Joe Thornber
1 sibling, 0 replies; 24+ messages in thread
From: Joe Thornber @ 2003-05-30 2:49 UTC (permalink / raw)
To: linux-lvm
On Fri, May 30, 2003 at 12:02:39AM +0200, jon+lvm@silicide.dk wrote:
> i am planning to write my own targets as a graduate project.
> My idea was encryption and possibly compression as well.
> (is anyone else doing any of these targets?)
This is an idea that quite a few people have come up with, but as far
as I know nobody is following up on it. I'd suggest you start with
the encryption target, I think that's slightly easier since you can
arrange for the encrypted data to be the same size as clear. You
should then use the end_io() method to catch the buffer_heads after
they've read the encrypted data and decrypt it there. The dm side
should be very simple, yell if you have any questions.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-30 2:23 ` jon+lvm
@ 2003-05-30 8:03 ` Daniel Phillips
0 siblings, 0 replies; 24+ messages in thread
From: Daniel Phillips @ 2003-05-30 8:03 UTC (permalink / raw)
To: linux-lvm, jon+lvm
On Friday 30 May 2003 09:22, jon+lvm@silicide.dk wrote:
> On Fri, May 30, 2003 at 12:54:07AM +0200, Daniel Phillips wrote:
> > On Friday 30 May 2003 00:02, jon+lvm@silicide.dk wrote:
> > > i am planning to write my own targets as a graduate project.
> > > My idea was encryption and possibly compression as well.
> > > (is anyone else doing any of these targets?)
> >
> > Not as far as I know - it's considered good though.
>
> What is considered good ?
Implementing an encrypting or compressing block device as a device-mapper
target. It's been discussed, but as far as I know, nobody has started on it.
Regards,
Daniel
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-30 12:14 re[2]: " Greg Freemyer
@ 2003-05-30 12:24 ` Joe Thornber
2003-05-30 16:08 ` Luca Berra
2003-05-31 4:08 ` jon+lvm
2003-05-30 13:04 ` Daniel Phillips
2003-05-31 4:16 ` jon+lvm
2 siblings, 2 replies; 24+ messages in thread
From: Joe Thornber @ 2003-05-30 12:24 UTC (permalink / raw)
To: linux-lvm
On Fri, May 30, 2003 at 01:22:32PM -0400, Greg Freemyer wrote:
> >> On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> >> > On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> >> >
> >> > If you're interested in writing your own targets I suggest you look at
> >> > a couple of the trivial targets that already exist. Such as
> >> > dm-linear.c, dm-stripe.c.
>
> >> i am planning to write my own targets as a graduate project.
> >> My idea was encryption and possibly compression as well.
> >> (is anyone else doing any of these targets?)
>
> An encrypting target would be nice, but does it offer any value over an encrypting loopback device?
I still don't trust the loop device enough to use it.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-30 12:14 re[2]: " Greg Freemyer
2003-05-30 12:24 ` Joe Thornber
@ 2003-05-30 13:04 ` Daniel Phillips
2003-05-31 4:16 ` jon+lvm
2 siblings, 0 replies; 24+ messages in thread
From: Daniel Phillips @ 2003-05-30 13:04 UTC (permalink / raw)
To: linux-lvm, Greg Freemyer
On Friday 30 May 2003 19:22, Greg Freemyer wrote:
> >> On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> >> > On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> >> >
> >> > If you're interested in writing your own targets I suggest you look
> >> > at a couple of the trivial targets that already exist. Such as
> >> > dm-linear.c, dm-stripe.c.
> >>
> >> i am planning to write my own targets as a graduate project.
> >> My idea was encryption and possibly compression as well.
> >> (is anyone else doing any of these targets?)
>
> An encrypting target would be nice, but does it offer any value over an
> encrypting loopback device?
Simplicity and reliability?
Regards,
Daniel
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-30 12:24 ` Joe Thornber
@ 2003-05-30 16:08 ` Luca Berra
2003-05-31 4:08 ` jon+lvm
1 sibling, 0 replies; 24+ messages in thread
From: Luca Berra @ 2003-05-30 16:08 UTC (permalink / raw)
To: linux-lvm
On Fri, May 30, 2003 at 06:23:55PM +0100, Joe Thornber wrote:
>On Fri, May 30, 2003 at 01:22:32PM -0400, Greg Freemyer wrote:
>> An encrypting target would be nice, but does it offer any value over an encrypting loopback device?
>
>I still don't trust the loop device enough to use it.
well.
i have been using loop-AES on my laptop for over 1 year and i am
satisfied with it.
said that, if having encryption as a dm target would mean havig a single
interface for device mapping, it would certainly be the best thing.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-30 12:24 ` Joe Thornber
2003-05-30 16:08 ` Luca Berra
@ 2003-05-31 4:08 ` jon+lvm
2003-06-02 5:14 ` Joe Thornber
1 sibling, 1 reply; 24+ messages in thread
From: jon+lvm @ 2003-05-31 4:08 UTC (permalink / raw)
To: linux-lvm
On Fri, May 30, 2003 at 06:23:55PM +0100, Joe Thornber wrote:
> On Fri, May 30, 2003 at 01:22:32PM -0400, Greg Freemyer wrote:
> > >> On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> > >> > On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> > >> >
> > >> > If you're interested in writing your own targets I suggest you look at
> > >> > a couple of the trivial targets that already exist. Such as
> > >> > dm-linear.c, dm-stripe.c.
> >
> > >> i am planning to write my own targets as a graduate project.
> > >> My idea was encryption and possibly compression as well.
> > >> (is anyone else doing any of these targets?)
> >
> > An encrypting target would be nice, but does it offer any value over an encrypting loopback device?
>
> I still don't trust the loop device enough to use it.
Why not?
What makes you think you will trust an encryption target that also
uses cryptoAPI?
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-30 12:14 re[2]: " Greg Freemyer
2003-05-30 12:24 ` Joe Thornber
2003-05-30 13:04 ` Daniel Phillips
@ 2003-05-31 4:16 ` jon+lvm
2 siblings, 0 replies; 24+ messages in thread
From: jon+lvm @ 2003-05-31 4:16 UTC (permalink / raw)
To: linux-lvm
On Fri, May 30, 2003 at 01:22:32PM -0400, Greg Freemyer wrote:
> >> On Thu, May 29, 2003 at 10:21:27PM +0100, Joe Thornber wrote:
> >> > On Thu, May 29, 2003 at 02:27:15PM +0200, Daniel Phillips wrote:
> >> >
> >> > If you're interested in writing your own targets I suggest you look at
> >> > a couple of the trivial targets that already exist. Such as
> >> > dm-linear.c, dm-stripe.c.
>
> >> i am planning to write my own targets as a graduate project.
> >> My idea was encryption and possibly compression as well.
> >> (is anyone else doing any of these targets?)
>
> An encrypting target would be nice, but does it offer any value over an encrypting loopback device?
yes it does, or atleast so with the old LVM. Here at work i run
LVM ontop of loop-aes, and PPDD ontop of LVM (different machines)
bad:
loop-aes can not change password
you encrypt the hole LVM-system
ppdd can change password, but LVM1 wont run ontop of that, and still, you
have to encrypt everything
snapshots doesnt work when you puut loop-back ontop of a LV,
unless you unmount.
> (I assume LVM2 is compatible with the existing loopback encrypting devices.)
it does work, but there are some issues
> A compressing target would be uniquely valuable because I don't think it can be implemented via a loopback device.
>
> i.e. I believe a loopback device requires a 1:1 (or constant) ratio between input size and output size.
knoppix has a read-only encryption loop-back device. I've talked with
my fellow students about writeable encryption, and they thought that
it would be like audio/video codecs, where you also cant map an address
in the system after to an address in the system before. (sector in data
to sector in compressed data). So they thought that adding indexes would
handle the problem that you cant know how much space data takes after
compression.
> Actually, that sounds like a pretty interesting problem to try to work on.
yeah, i guess so
JonB
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [linux-lvm] where do i find the device mapper/LVM2 documentation?
2003-05-31 4:08 ` jon+lvm
@ 2003-06-02 5:14 ` Joe Thornber
0 siblings, 0 replies; 24+ messages in thread
From: Joe Thornber @ 2003-06-02 5:14 UTC (permalink / raw)
To: linux-lvm
On Sat, May 31, 2003 at 11:08:33AM +0200, jon+lvm@silicide.dk wrote:
> Why not?
because it deadlocks when testing under load.
- Joe
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2003-06-02 5:14 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 4:26 [linux-lvm] where do i find the device mapper/LVM2 documentation? Jon Bendtsen
2003-05-27 5:07 ` Joe Thornber
2003-05-27 5:27 ` Jon Bendtsen
2003-05-27 5:49 ` Joe Thornber
2003-05-27 17:08 ` Debian User
2003-05-27 17:53 ` Joe Thornber
2003-05-28 3:52 ` Jon Bendtsen
2003-05-28 4:09 ` Joe Thornber
2003-05-29 7:09 ` Jason H. Smith
2003-05-29 7:26 ` Daniel Phillips
2003-05-29 13:38 ` Debian User
2003-05-29 15:06 ` Daniel Phillips
2003-05-29 16:20 ` Joe Thornber
2003-05-29 17:02 ` jon+lvm
2003-05-29 17:53 ` Daniel Phillips
2003-05-30 2:23 ` jon+lvm
2003-05-30 8:03 ` Daniel Phillips
2003-05-30 2:49 ` Joe Thornber
-- strict thread matches above, loose matches on Subject: below --
2003-05-30 12:14 re[2]: " Greg Freemyer
2003-05-30 12:24 ` Joe Thornber
2003-05-30 16:08 ` Luca Berra
2003-05-31 4:08 ` jon+lvm
2003-06-02 5:14 ` Joe Thornber
2003-05-30 13:04 ` Daniel Phillips
2003-05-31 4:16 ` jon+lvm
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.