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.
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.
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...
*** Bug 40086 has been marked as a duplicate of this bug. ***
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...
*** Bug 43915 has been marked as a duplicate of this bug. ***
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?
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.
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 ... ;)
I suggest this doc be put back online. Any objections?
Nope, go ahead
Committed.