device-mapper missing from kernel?

Shawn Houston houston at iab.alaska.edu
Tue Apr 19 11:06:33 MDT 2005


Thanks Peter.

I have since recompiled the kernel to RPM and installed a working device
mapper enabled kernel. 

My disappointment in having to do so remains.

Do you know if there is a sight for storing fixed RPMs so that others
can benefit without needing to know how to compile a kernel? I am not
new to linux, but I am very new to YDL.

-Shawn

On Mon, 2005-04-18 at 23:55, peter.g.harper at magnox.co.uk wrote:
> When I did the installation, I chose the  'install everything'  option, but
> the default configuration for
> the kernel didn't seem to have LVM enabled. I had to recompile with LVM
> enabled, then
> it all worked.
> 
> Peter
> 
> 
> 
> 
> 
> 
> 
> Shawn Houston <houston at iab.alaska.edu> on 18/04/2005 18:42:00
> 
> Please respond to Yellow Dog Linux General Discussion List
>        <yellowdog-general at lists.terrasoftsolutions.com>
> 
> To:         Yellow Dog Linux General Discussion List
>             <yellowdog-general at lists.terrasoftsolutions.com>
> cc:          (bcc: Peter G Harper/Magnox/Berkeley/BNFL)
> Fax to:
> Subject:    Re: device-mapper missing from kernel?
> 
> 
> 
> On Mon, 2005-04-18 at 00:52, peter.g.harper at magnox.co.uk wrote:
> > Shawn,
> >
> > I am doing something very similar and I've got it to work OK now.
> >
> > i) LVM needs to be enabled in the kernel
> >
> 
> So I have to recompile the kernel?
> 
> That seems so odd that the raid modules and the LVM support modules are
> all compiled into the kernel, but they are useless because the device
> mapper module is not. (I tried both raid linear and LVM before becoming
> frustrated.) Maybe the dm-mod module is just missing from the kernel
> rpm. Has anyone got a reply from Terra Soft on this issue?
> 
> -Shawn
> 
> > ii) The device files are created when the machine reboots. There is a
> line
> > in /etc/rc.sysinit that does this.
> >
> > action $"Setting up Logical Volume Management:" /sbin/lvm vgscan
> --mknodes && /sbin/lvm vgchange -a y
> >
> > You can run these commands on their own without rebooting.
> >
> > iii) When you create your logical volumes you might want to use the
> --minor option to fix the minor device file
> > numbers otherwise they get assigned in random fashion and nfs mounts may
> get jumbled.
> >
> > I hope this helps
> >
> > Peter Harper
> >
> >
> >
> >
> >
> >
> > Shawn Houston <houston at iab.alaska.edu> on 16/04/2005 06:35:22
> >
> > Please respond to Yellow Dog Linux General Discussion List
> >        <yellowdog-general at lists.terrasoftsolutions.com>
> >
> > To:         yellowdog-general at lists.terrasoftsolutions.com
> > cc:          (bcc: Peter G Harper/Magnox/Berkeley/BNFL)
> > Fax to:
> > Subject:    device-mapper missing from kernel?
> >
> >
> >
> > I am trying to set up a database server using YDL4.0 on a dual G5 with
> > two 250GB disks. What I would like to do is use LVM to manage the disk
> > space in order to have more than 250GB for my database files.
> >
> > What happens is that the logical volumes devices are not created, the
> > error is /dev/mapper/control not found, device-mapper not in kernel?
> >
> > I really need to get this server built and would like to know if this
> > has a known work around.
> > --
> > Shawn Houston, CISSP, RHCE
> > IAB/UAF
> > houston at iab.alaska.edu
> > 907-474-6384
> > POBox 757000
> > Fairbanks, AK 99775-7000
> >
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
> --
> Shawn Houston, CISSP, RHCE
> IAB/UAF
> houston at iab.alaska.edu
> 907-474-6384
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
-- 
Shawn Houston, CISSP, RHCE
IAB/UAF
houston at iab.alaska.edu
907-474-6384



More information about the yellowdog-general mailing list