I've \been using the (otherwise-excellent) document posted at www.gentoo.org/doc/en/lvm2.xml as a guide while moving one of my home systems from a straight partitioned HDD config to an lvm2 setup. In the instructions for sizing the (non-LVM) root partition (hda3 in the guide) it says: "The size of the root partition need not be large if you will keep /opt /usr /home /var and /tmp in an LVM2 Volume Group (vg). In this case, 150M is sufficient." This is good advice, but the recomended size doesn't take into account the potential weight of /lib/modules -- depending on what the user configures as modular during the kernel build, /lib/modules can easily swamp that 150M. (My /lib/modules/2.6.12-gentoo-r7 is 167M, and there are several entire driver subtrees turned off.) Moreover, since the root partition is raw, it won't be resizeable after the fact, which leads me to suggest erring on the large side when planning it; at least 500M, but probably 1 to 2 gigs would be a better guideline, particularly for a neophyte. Otherwise, thanks for an extremely helpful and clear document!
(In reply to comment #0) > This is good advice, but the recomended size doesn't take into account the > potential weight of /lib/modules -- depending on what the user configures as > modular during the kernel build, Good point. > /lib/modules can easily swamp that 150M. (My > /lib/modules/2.6.12-gentoo-r7 is 167M Uh? The 4 kernels that are still on my box use 15M. Looks like you could save a bit of space and a lot of compile time... Anyway, 1GB should be enough IMO.
Fixed in CVS. Thanks for reporting.