[dm-devel] dm-linear error: Device lookup failed

Heinz Mauelshagen mauelshagen at redhat.com
Wed May 31 09:02:30 UTC 2006


On Wed, May 31, 2006 at 12:15:04PM +1000, Mark Huth wrote:
> Thanks for the reply Heinz,
> 
> I have to admit that I am a complete noob when when it comes to
> understanding how device-mapper works and the documentation I've read
> doesn't shed much light either I'm afraid.

Could be that you've got outdated LVM metadata on the devices still.
You can check with the LVM 'pvs' command, if that's the case.
If you don't want that metadata, use pvremove to get rid of it.

Heinz

> 
> > Mark,
> > 
> > you're saying, the system is wotking properly, but without the respecive
> > mapping tables it's hard to tell if there's a hidden issue.
> > 
> > The message shows, that device-mapper is unable to discover 2 devices
> > while loading (a) mapping table(s).
> > 
> 
> The machine indeed has 2 IDE disks.  I am wondering how I can prevent
> this error message from occuring?  It sounds like something is wrong
> even though there doesn't seem to be (but is there really?).
> 
> Thanks,
> Mark
> 
> > On Tue, May 23, 2006 at 08:57:45AM +1000, Mark Huth wrote:
> > > Hi,
> > > I am encountering the following error/message whilst the machine is
> > > booting up:
> > > 
> > > kernel: device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-
> > > devel redhat com
> > > kernel: device-mapper: dm-linear: Device lookup failed
> > > kernel: device-mapper: error adding target to table
> > > kernel: device-mapper: dm-linear: Device lookup failed
> > > kernel: device-mapper: error adding target to table
> > > kernel: cdrom: open failed.
> > > last message repeated 2 times
> > > 
> > > I am not using LVM (just a bunch of raid0 partitions) so it seems that
> > > this error is more informational rather than a sign of possible
> > > problems, and the system seems to otherwise be functioning normally.  So
> > > I was wondering if anyone on this list can confirm that it is nothing to
> > > worry about and if there a way to make the system happy to prevent this
> > > message from showing up.  I am using RHEL4U3 (kernel 2.6.9-34.EL).
> > > 
> > > Thanks,
> > > Mark
> > > 
> > > --
> > > dm-devel mailing list
> > > dm-devel redhat com
> > > https://www.redhat.com/mailman/listinfo/dm-devel
> > 
> > -- 
> > 
> > Regards,
> > Heinz    -- The LVM Guy --
> > 
> > *** Software bugs are stupid.
> >     Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Storage Development                               56242 Marienrachdorf
                                                  Germany
Mauelshagen at RedHat.com                            PHONE +49  171 7803392
                                                  FAX   +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the dm-devel mailing list