LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-03-2006, 04:20 PM   #1
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Rep: Reputation: 31
Device-mapper errors FC6


Hello!

Anyone seen this before
Code:
ACPI: Power Button (FF) [PWRF]
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.4 loaded
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
EXT3 FS on sda3, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
I just installed FC6 and I am seeing errors on boot but I can't seem to see a log file with what scrolls during boot but dmesg shows these device-mapper errors.

Also curious how to view the boot log file. When i open /var/log/boot.log as root in gedit i see nothing and when i try to view through the gnome log monitor it won't open and a message says that it is an invalid log file??

any thoughts?
thanks!
 
Old 11-04-2006, 12:53 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You might get a clue looking in man dmsetup,although you'll need to look at the initrd internals to see how dmsetup is being called.

I suspect that the mkinitrd run during the setup found a block device that you've since unplugged, and that it configured the device mapper to treat all the partitions on that device as a single, linear, volume.

Perhaps re-running mkinitrd on your working system would eliminate the messages. (Just a guess.)

If you're moving around physical devices, you should probably be using udev to assign them "fixed" places in the /dev tree without regard o the actual physical location of the device.
 
Old 11-07-2006, 09:36 AM   #3
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Original Poster
Rep: Reputation: 31
Thanks I will check into this when I get back to my machine!
 
Old 05-02-2008, 08:16 PM   #4
cowboycraig
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Errors seem OK

I get these errors every boot, but my /dev/mapper/mpath* devices are OK.

I think the error is that the device names under /dev that get multipathed change.

So dmsetup and multipath -v2 get confused and log errors. In the end it all works out.

Have not quite worked out if running mkinitrd fixes this. Would be nice if it did. But the device names still may change at boot time.

When I do a multipath -l and look at the devices that make each mpath device the names change. Udev would be the same way, at least on SAN you can bind to the LUN ID, in what ever form that comes.


Craig
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
device-mapper: dm-linear: Device lookup failed tajo01 Linux - Kernel 1 05-18-2006 08:22 PM
Does Mandrake 10.1 has device mapper? edccorp Mandriva 2 03-20-2005 08:51 AM
installing device-mapper aaronj Linux - Software 1 10-02-2004 02:00 AM
lvm 2 device-mapper Kroenecker Linux - Newbie 4 12-29-2003 11:19 AM
LVM and device-mapper instalation- Help zick Linux - General 0 10-29-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration