LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-17-2010, 04:30 PM   #1
bugoff
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
lvm + device mapper


Hi,

I'm having some problems with lvm + dmmapper on my own compiled 2.6.32.10 kernel, I'm not sure if the problem is with dmmapper or with my kernel, so i hope someone can help me.

I'm running debian lenny,

lvm2 ( Installed: 2.02.39-7)
dmsetup ( Installed: 2:1.02.45-1)

When I try to create a lvm volume i recieve the following error:

bram-PC:~# lvcreate -L 10485760k -n test5-root xendomains
device-mapper: table ioctl failed: No such device or address
Aborting. Failed to activate new LV to wipe the start of it.

Sometimes it works to create a lvm volume, but when i try to create a mapper on the device i recieve errors like this:

bram-PC:~# echo "0 $( blockdev --getsize /dev/xendomains/test-root ) linear /dev/xendomains/test-root 0" | dmsetup create test-root-dm
/dev/xendomains/test-root: No such file or directory
Invalid format on line 1 of table on stdin
Command failed


and dmesg tells me:

[29955.397572] device-mapper: ioctl: device doesn't appear to be in the dev hash table.


The reason i build my own kernel is i want to run xen 4.0, my config is available on pastebin:

http://pastebin.com/T6ntfKme


I compiled dmmapper as a module or built-in i always have these errors.

I know i don't have much info to post here cause i don't have any idea what you need to know, just ask and i'll post it

Can someone help me to find a solution to this problem, or help me to build a bug report (if it's a bug )

Kr,
Bram
 
  


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 error running kpartx on a LVM karateckie Linux - Software 2 12-15-2009 04:13 PM
Is device-mapper necessary if you don't use LVM? raypen Linux - Software 1 06-23-2008 06:17 AM
LVM problems, device-mapper missing dworkin Linux - Newbie 3 03-22-2004 04:54 PM
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 - Software > Linux - Kernel

All times are GMT -5. The time now is 04:25 PM.

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