Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39305 - lvm module changed for 2.6 kernel
Summary: lvm module changed for 2.6 kernel
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: LVM HOWTO (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
: 40086 43915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-24 20:40 UTC by felix zaslavskiy
Modified: 2004-03-30 06:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lvm2.xml (lvm2.xml,11.07 KB, text/plain)
2004-01-30 11:51 UTC, Xavier Neys (RETIRED)
Details
lvm2.xml (lvm2.xml,12.72 KB, text/plain)
2004-03-19 03:05 UTC, Xavier Neys (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description felix zaslavskiy 2004-01-24 20:40:10 UTC
I noticed that in the 2.6 kernel one needs to modprobe dm-mod instead of lvm-mod.
Appropriate change in LVM Howto needed ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2004-01-29 15:09:03 UTC
I'll take this one one and upgrade lvm.xml to lvm2.xml sinc both gentoo-sources-2.4.22-r5 and >=2.6.1 seem to work properly.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-01-30 11:51:23 UTC
Created attachment 24655 [details]
lvm2.xml

Reviewed lvm.xml quick startup guide which is now known as lvm2.xml
Link to previous version: http://www.gentoo.org/doc/en/lvm.xml
Reviewed version can be seen here: http://dev.gentoo.org/~neysx/tests/lvm2.html


New version is based on original but is meant for LVM2, has more details, does
not use 1st person talk anymore, respects coding style (e.g. w/ captions on
<pre>)...


Please compare, review, comment...
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-01 09:27:15 UTC
*** Bug 40086 has been marked as a duplicate of this bug. ***
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-08 01:29:06 UTC
Any chance the document can be updated to reflect the installation steps of the gentoo handbook? The (old) installation guides will disappear in a few days...
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2004-03-06 14:57:25 UTC
*** Bug 43915 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Eckert 2004-03-13 09:19:04 UTC
i read the old (lvm) and new (lvm2) guide and what i missed in both is a note,
that hardware-raid is the far more easy and saver way to go when using LVM.
With a IDE-RAID-Controller (like 3ware, http://www.3ware.com/) it's not very
expensive too and the complexity of the setup can be reduced.

another (cosmetic) thing is that "hda" and "hdb" are used as an example and it's
easy to read over that single different character -- maybe an extra warning-note
would be good to protect the innocent?

a note about the partitioning-sample: hda1,2,3 are boot, swap, root of the system.
if we added a big extended partition hda4, created a logical drive (hda5) in it
and partitioned hdb the same way (e.g. one big extended) and hdb5 for our
lvm-data we could have identical partition-numbers on both discs making it
easier to keep on track, what do you think?
Comment 7 Xavier Neys (RETIRED) gentoo-dev 2004-03-19 03:05:48 UTC
Created attachment 27607 [details]
lvm2.xml

Reviewed lvm2. Refers to the current handbook and Gentoo 2004.0.
An html version is available at http://dev.gentoo.org/~neysx/tests/lvm2.html


Quick comments on Thomas's post:
+ RAID is safer whether you use lvm or not. They are different technologies. I
don't think those adapters are simpler than plain old IDE and them being
inexpensive is a personal notion.
+ I added a note to warn users about possible confusion between hda/hdb/1/2/3/4

Actually, I have hda/hdb/sda/sdb/sdc/sdd ;-)
+ Partitioning in a way to use the same numbers is clever, but I wouldn't use
it personally. I'd rather split a HD into several partitions. Size and number
depending on usage and total space, and then add them to a volume group as
needed. This leaves unneeded space available to different volume groups or even
as a normal partition for another distro, tests...
In the example used in the howto, I'd rather keep hda4 and hdb1 because hda5
and hdb5 differ only by a single letter and would be more confusing IMHO.
Comment 8 Thomas Eckert 2004-03-19 03:24:45 UTC
My focus regarding the HW-RAID was mainly the _complexity_ of the setup (compared
to SW-RAID). Not using RAID at all with LVM is very risky as the possiblity of a
HDD failure is much higher -- if any HDD in a LVM-setup fails a lot of data may
be unusable (depending on your VG-setup and only if using more than 1 disk of
course).

partitioning: well, that has always been a very personal thing ... ;)
Comment 9 Xavier Neys (RETIRED) gentoo-dev 2004-03-30 02:41:07 UTC
I suggest this doc be put back online.
Any objections?
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2004-03-30 04:08:42 UTC
Nope, go ahead
Comment 11 Xavier Neys (RETIRED) gentoo-dev 2004-03-30 06:19:50 UTC
Committed.