Skip to contentSkip to conversation

where do i find the device mapper/LVM2 documentation?

linux-lvm Jon Bendtsen 5 participants 18 messages May 27, 2003 – May 30, 2003

lore
Share & tools
lore
#0 lore raw

Hi there, i'm looking for documentation for the device mapper/lvm2 in the linux 2.5/6 kernel.

JonB

#1 lore raw
Quoted 2 lines · Jon Bendtsen

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

#2 lore raw
Quoted 10 lines · Joe Thornber
Quoted 1 line · Jon Bendtsen

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

#3 lore raw
Quoted 12 lines · Jon Bendtsen
Quoted 11 lines · Joe Thornber
Quoted 2 lines · Jon Bendtsen

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.

Quoted 5 lines
Quoted 1 line

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

#4 lore raw
Quoted 13 lines · Joe Thornber
Quoted 12 lines · Jon Bendtsen
Quoted 11 lines · Joe Thornber
Quoted 2 lines · Jon Bendtsen

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.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

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

#5 lore raw
Quoted 20 lines · Debian User
Quoted 19 lines · Joe Thornber
Quoted 17 lines · Jon Bendtsen
Quoted 6 lines · Joe Thornber
Quoted 2 lines · Jon Bendtsen

Hi there, i'm looking for documentation for the device mapper/lvm2 in the linux 2.5/6 kernel.

Quoted 6 lines

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.

Quoted 5 lines
Quoted 1 line

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

#6 lore raw
Quoted 3 lines · Joe Thornber
Quoted 1 line · Debian User

On Tue, May 27, 2003 at 11:49:59AM +0100, Joe Thornber wrote:

[cut]

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

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

#7 lore raw
Quoted 2 lines · Jon Bendtsen

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

#8 lore raw
In reply to Jon Bendtsen
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

How it is built up. Detailed information explaining to me how i can expand it, stuff like that.

May I suggest the source code?

Signature · 3 lines
Jason Smith
Open Enterprise Systems
Bangkok, Thailand
#9 lore raw
Quoted 4 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

#10 lore raw
Quoted 8 lines · Daniel Phillips
Quoted 4 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

#11 lore raw
Quoted 5 lines · Debian User
Quoted 4 lines · Daniel Phillips
Quoted 3 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

How it is built up. Detailed information explaining to me how i can expand it, stuff like that.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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

#12 lore raw
In reply to Daniel Phillips
Quoted 3 lines · Daniel Phillips
Quoted 2 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

#13 lore raw
Quoted 8 lines · Joe Thornber
Quoted 3 lines · Daniel Phillips
Quoted 2 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

#14 lore raw
Quoted 6 lines · On Friday 30 May 2003 00:02, [email protected] wrote:
Quoted 5 lines · Joe Thornber
Quoted 3 lines · Daniel Phillips
Quoted 2 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

How it is built up. Detailed information explaining to me how i can expand it, stuff like that.

Quoted 7 lines
Quoted 3 lines

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

#15 lore raw
Quoted 11 lines · Daniel Phillips
Quoted 10 lines · On Friday 30 May 2003 00:02, [email protected] wrote:
Quoted 8 lines · Joe Thornber
Quoted 3 lines · Daniel Phillips
Quoted 2 lines · Jason H. Smith
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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.

Quoted 5 lines
Quoted 3 lines

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

#16 lore raw
Quoted 9 lines · On Friday 30 May 2003 09:22, [email protected] wrote:
Quoted 6 lines · Daniel Phillips
Quoted 3 lines · On Friday 30 May 2003 00:02, [email protected] 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

#17 lore raw
In reply to [email protected]
Quoted 3 lines · On Fri, May 30, 2003 at 12:02:39AM +0200, [email protected] 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