Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80914 - LVM not in kernel Linux livecd 2.6.9-gentoo-r1 #1 SMP Thu Nov 25 (x86)?
Summary: LVM not in kernel Linux livecd 2.6.9-gentoo-r1 #1 SMP Thu Nov 25 (x86)?
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 14:36 UTC by Kees Serier
Modified: 2005-03-28 08:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kees Serier 2005-02-05 14:36:07 UTC
I use livecd 2004.3:
livecd portage # uname -a
Linux livecd 2.6.9-gentoo-r1 #1 SMP Thu Nov 25 03:43:53 UTC 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

I wanted to install using LVM, made a big Linux LVM partition.
The LVM tools themselve work, on some I get the message that the mapper is not installed, but the do there job.
I can create a Volume Group, and Logical Volumes in them, vgdisplay shows that the free space is reduced with the amount of the LV's.
But no /dev/<vg-name> directory is created, so no filesystems can be made on the  created LV's.
This makes me believe that the LVM tools are installed, but that LVM support is not in de kernel.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-05 15:06:49 UTC
Did you load the necessary modules?
Comment 2 Kees Serier 2005-02-05 15:40:35 UTC
> Did you load the necessary modules?

No, I didn't find them:

livecd root # ls /sys/module/
e100      ieee1394  ohci1394  parport_pc   pppox  uhci_hcd
ehci_hcd  ipv6      ohci_hcd  ppp_generic  sbp2   usb_storage
evdev     mii       parport   pppoe        slhc

Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-06 05:46:49 UTC
Well, /sys/module will only show you loaded modules, not all the modules on the CD.  Try looking under /lib/modules/2.6.9-gentoo-r1/kernel, which is where the modules reside.  You're looking for the following: dm-mod dm-snapshot dm-mirror and any other dm-* modules.
Comment 4 Kees Serier 2005-02-07 02:38:15 UTC
I find the dm stuf you mention:
livecd root # find /lib/modules/2.6.9-gentoo-r1/kernel/ -name dm\*
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-bbr.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-crypt.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-mirror.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-mod.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-round-robin.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-snapshot.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-zero.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/md/dm-multipath.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/net/tulip/dmfe.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/scsi/dmx3191d.ko

But according to the lvm documentation and my experience with Fedora and RedHat EL, there should be a file/module called lvm-mod, there also is no /proc/lvm directory, but that might be because the module is not loaden.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-28 08:52:38 UTC
This should be fixed in 2005.0