Skip to contentSkip to conversation

Differences between LVM1 and LVM2

linux-lvm Tomas Roos 4 participants 5 messages Nov 19, 2002 – Nov 22, 2002

lore
Share & tools
lore

Tomas Roos

author
#0 lore raw

Hi.

I have been using LVM for about a year now at a number of machines. One I have had in production for about 4 months I think. I have never had any problems with this piece of software .. very stable.

I would like to know what to think about when upgrading to LVM release 2

Best regards
/Tomas

#1 lore raw
Quoted 7 lines · Tomas Roos

Hi.

I have been using LVM for about a year now at a number of machines. One I have had in production for about 4 months I think. I have never had any problems with this piece of software .. very stable.

I would like to know what to think about when upgrading to LVM release 2

LVM2 is metadata and command line compatible to LVM1 plus it adds some nice features such as a configuration file with various sections for device name filtering and more.
You have the choice with it to upgrade your metadata to a more redundant format2 which causes updates to the metadata to be transaction oriented therefore enhancing the online recoverablilty of the LVM system.

We still declare LVM2 to be in Beta _because_ it misses the soon to be added feature to online relocate data (pvmove).

It is stable and you should give it a try :)

Quoted 11 lines

Best regards
/Tomas

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 2 lines · Heinz J . Mauelshagen

We still declare LVM2 to be in Beta _because_ it misses the soon to be added feature to online relocate data (pvmove).

How about documentation? I still haven't seen any documentation that would really give me a change to _understand_ what's the relation between DM and LVM2 or how I should set up my system. Something similar to LVM-HOWTO, I mean.

Should I do most things just like I'm used to with LVM tools (pvcreate, vgcreate, lvcreate and then just mount) or should I use dmsetup for something - and for what?

Oh, and now that I'm already writing this on the list, I might as well ask a few questiong about used and usable versions as well.

My laptop and my home-server are both running Debian Testing. Packages lvm2-1.95.10-2 andf dmsetup-0.96.04-2 and libdevmapper0-0.96.04-2 are available, both packaged by Andres Solomon. I guess I'd have to install these? Will these work with - for instance - kernels 2.4.20-rc1-ac4 and 2.5.47-ac6 or should I patch my kernels?

Suonp��...

#3 lore raw
Quoted 2 lines · Samuli Suonpaa

between DM and LVM2 or how I should set up my system. Something similar to LVM-HOWTO, I mean.

DM is the kernel driver, LVM2 is a userland application that uses DM to set up the volumes.

Quoted 3 lines

Should I do most things just like I'm used to with LVM tools (pvcreate, vgcreate, lvcreate and then just mount) or should I use dmsetup for something - and for what?

You don't need dmsetup - think of dmsetup as an alternate (and very simple) volume manager that uses DM.

Quoted 5 lines

My laptop and my home-server are both running Debian Testing. Packages lvm2-1.95.10-2 andf dmsetup-0.96.04-2 and libdevmapper0-0.96.04-2 are available, both packaged by Andres Solomon. I guess I'd have to install these? Will these work with - for instance - kernels 2.4.20-rc1-ac4 and 2.5.47-ac6 or should I patch my kernels?

The packages you mention should work with those two kernels.

- Joe

#4 lore raw
Quoted 7 lines · Joe Thornber
Quoted 5 lines · Samuli Suonpaa

My laptop and my home-server are both running Debian Testing. Packages lvm2-1.95.10-2 andf dmsetup-0.96.04-2 and libdevmapper0-0.96.04-2 are available, both packaged by Andres Solomon. I guess I'd have to install these? Will these work with - for instance - kernels 2.4.20-rc1-ac4 and 2.5.47-ac6 or should I patch my kernels?

The packages you mention should work with those two kernels.

Yes, they do seem to do exactly what I wanted. Thanks.

Suonp��...