Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] lvcreate complains and fails
@ 2004-06-19 21:24 arajendr
  2004-06-19 21:43 ` Alasdair G Kergon
  0 siblings, 1 reply; 4+ messages in thread
From: arajendr @ 2004-06-19 21:24 UTC (permalink / raw)
  To: linux-lvm

Hi. I'm sure this has been asked a million times. 
I'm running LVM2 on a 2.6.6 kernel running debian. The LVM tools are
standard debian sid distribution. I have dm_mod.o in the kernel. Modprobe
tells me dev mapper is in the kernel.

I even created the file /dev/mapper/control with major and minor numbers
taken from /proc/devices and /proc/misc respectively.

Yet when I run lvcreate it gives me an error saying no /dev/mapper/control.
One other error it gives me is Incompatible libdevmapper 1.00.17-ioctl, and
kernel driver.

Could this be the problem its not creating logical volumes? If so, any way
to resolve it?

Thanks,
Anoop

----------------------------------------------------------
This message was sent from cse.uta.edu using
Endymion MailMan. http://www.endymion.com/products/mailman/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] lvcreate complains and fails
  2004-06-19 21:24 [linux-lvm] lvcreate complains and fails arajendr
@ 2004-06-19 21:43 ` Alasdair G Kergon
  2004-06-20  3:26   ` Anoop Rajendra
  2004-06-20  3:31   ` Anoop Rajendra
  0 siblings, 2 replies; 4+ messages in thread
From: Alasdair G Kergon @ 2004-06-19 21:43 UTC (permalink / raw)
  To: LVM general discussion and development

On Sat, Jun 19, 2004 at 04:23:52PM +0000, arajendr@cse.uta.edu wrote:
> tells me dev mapper is in the kernel.
 
> Yet when I run lvcreate it gives me an error saying no /dev/mapper/control.
There's a script to create it correctly, though it sounds like you did 
the right thing.

> One other error it gives me is Incompatible libdevmapper 1.00.17-ioctl, and
> kernel driver.
What does 'lvm version' report?
Should be 3 versions: If it doesn't give the dm kernel driver version, 
look in the kernel message log for it.
 
Alasdair
-- 
agk@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] lvcreate complains and fails
  2004-06-19 21:43 ` Alasdair G Kergon
@ 2004-06-20  3:26   ` Anoop Rajendra
  2004-06-20  3:31   ` Anoop Rajendra
  1 sibling, 0 replies; 4+ messages in thread
From: Anoop Rajendra @ 2004-06-20  3:26 UTC (permalink / raw)
  To: LVM general discussion and development



On Sat, 2004-06-19 at 16:43, Alasdair G Kergon wrote:
> On Sat, Jun 19, 2004 at 04:23:52PM +0000, arajendr@cse.uta.edu wrote:
> > tells me dev mapper is in the kernel.
>  
> > Yet when I run lvcreate it gives me an error saying no /dev/mapper/control.
> There's a script to create it correctly, though it sounds like you did 
> the right thing.
> 
> > One other error it gives me is Incompatible libdevmapper 1.00.17-ioctl, and
> > kernel driver.
> What does 'lvm version' report?
lvm version gives me 2.00.16
Library version is 1.00.17-ioctl
And the dm_mod driver gives me 4.1.0. This last one is from the kernel
logs.. not from when I run lvm version. When I run lvm version it still
says /dev/mapper/control not found.

> Should be 3 versions: If it doesn't give the dm kernel driver version, 
> look in the kernel message log for it.
>  
> Alasdair

Anoop

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] lvcreate complains and fails
  2004-06-19 21:43 ` Alasdair G Kergon
  2004-06-20  3:26   ` Anoop Rajendra
@ 2004-06-20  3:31   ` Anoop Rajendra
  1 sibling, 0 replies; 4+ messages in thread
From: Anoop Rajendra @ 2004-06-20  3:31 UTC (permalink / raw)
  To: LVM general discussion and development

Actually, for some reason a reboot was required.
I didnt touch the kernel or anything. It just seemed to work fine after
a reboot.

Thanks anyway,
Anoop

On Sat, 2004-06-19 at 16:43, Alasdair G Kergon wrote:
> On Sat, Jun 19, 2004 at 04:23:52PM +0000, arajendr@cse.uta.edu wrote:
> > tells me dev mapper is in the kernel.
>  
> > Yet when I run lvcreate it gives me an error saying no /dev/mapper/control.
> There's a script to create it correctly, though it sounds like you did 
> the right thing.
> 
> > One other error it gives me is Incompatible libdevmapper 1.00.17-ioctl, and
> > kernel driver.
> What does 'lvm version' report?
> Should be 3 versions: If it doesn't give the dm kernel driver version, 
> look in the kernel message log for it.
>  
> Alasdair

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-20  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-19 21:24 [linux-lvm] lvcreate complains and fails arajendr
2004-06-19 21:43 ` Alasdair G Kergon
2004-06-20  3:26   ` Anoop Rajendra
2004-06-20  3:31   ` Anoop Rajendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox