All of lore.kernel.org
 help / color / mirror / Atom feed
* lvm2 2.02.86 error... udev problem?
@ 2011-07-10  5:28 ben
  2011-07-10 10:21 ` Peter Rajnoha
  0 siblings, 1 reply; 4+ messages in thread
From: ben @ 2011-07-10  5:28 UTC (permalink / raw)
  To: lvm-devel

I just downloaded and compiled lvm2 2.02.86 and have seen the following error 
message several times:

~/# lvcreate --name test --mirrors 1 --size 1g vg01
  /dev/mapper/vg01-test_mimage_0: open failed: No such file or directory
  /dev/mapper/vg01-test: open failed: No such file or directory
  /dev/vg01/test: not found: device not cleared
  Aborting. Failed to wipe start of new LV.
  LV vg01/test in use: not deactivating
  Unable to deactivate failed new LV. Manual intervention required.

The volume is created despite the error message. Is this another udev issue? I 
am running Debian Sid and udev 171-2.



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

* lvm2 2.02.86 error... udev problem?
  2011-07-10  5:28 lvm2 2.02.86 error... udev problem? ben
@ 2011-07-10 10:21 ` Peter Rajnoha
  2011-07-10 19:10   ` ben
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Rajnoha @ 2011-07-10 10:21 UTC (permalink / raw)
  To: lvm-devel

On 07/10/2011 07:28 AM +0100, ben wrote:
> I just downloaded and compiled lvm2 2.02.86 and have seen the following error 
> message several times:
> 
> ~/# lvcreate --name test --mirrors 1 --size 1g vg01
>   /dev/mapper/vg01-test_mimage_0: open failed: No such file or directory
>   /dev/mapper/vg01-test: open failed: No such file or directory
>   /dev/vg01/test: not found: device not cleared
>   Aborting. Failed to wipe start of new LV.
>   LV vg01/test in use: not deactivating
>   Unable to deactivate failed new LV. Manual intervention required.
> 
> The volume is created despite the error message. Is this another udev issue? I 
> am running Debian Sid and udev 171-2.
> 

Can you please try that with 'verify_udev_operations=1' setting in lvm.conf
(in 'activation' section) and see if you get any warnings. Thanks.

Peter



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

* lvm2 2.02.86 error... udev problem?
  2011-07-10 10:21 ` Peter Rajnoha
@ 2011-07-10 19:10   ` ben
  2011-07-11  7:06     ` Peter Rajnoha
  0 siblings, 1 reply; 4+ messages in thread
From: ben @ 2011-07-10 19:10 UTC (permalink / raw)
  To: lvm-devel

On Sunday, July 10, 2011 03:21:50 AM Peter Rajnoha wrote:
> verify_udev_operations=1

That seems to help. Now I get this message:

# lvcreate  --name test --mirrors 1 --size 1g vg01
  /dev/mapper/vg01-test_mimage_0 not set up by udev: Falling back to direct 
node creation.
  /dev/mapper/vg01-test not set up by udev: Falling back to direct node 
creation.
  The link /dev/vg01/test should had been created by udev but it was not 
found. Falling back to direct link creation.
  Logical volume "test" created




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

* lvm2 2.02.86 error... udev problem?
  2011-07-10 19:10   ` ben
@ 2011-07-11  7:06     ` Peter Rajnoha
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Rajnoha @ 2011-07-11  7:06 UTC (permalink / raw)
  To: lvm-devel

On 07/10/2011 09:10 PM +0100, ben wrote:
> On Sunday, July 10, 2011 03:21:50 AM Peter Rajnoha wrote:
>> verify_udev_operations=1
> 
> That seems to help. Now I get this message:
> 
> # lvcreate  --name test --mirrors 1 --size 1g vg01
>   /dev/mapper/vg01-test_mimage_0 not set up by udev: Falling back to direct 
> node creation.
>   /dev/mapper/vg01-test not set up by udev: Falling back to direct node 
> creation.
>   The link /dev/vg01/test should had been created by udev but it was not 
> found. Falling back to direct link creation.
>   Logical volume "test" created

This normally means that udev rules are wrong. Have you also installed
upstream udev rules? (10-dm.rules, 11-dm-lvm.rules, 13-dm-disk.rules and
95-dm-notify.rules in /lib/udev/rules.d directory)

Debian has modified upstream udev rules a bit so there's a possibility
that this is the source of the problem you see (debian udev rules are
renamed: 55-dm.rules, 60-persistent-storage-dm.rules, 56-lvm.rules,
60-persistent-storage-lvm.rules).

Please, try using upstream udev rules directly and also be sure that
Debian and upstream udev rules are not installed together.

Peter



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

end of thread, other threads:[~2011-07-11  7:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10  5:28 lvm2 2.02.86 error... udev problem? ben
2011-07-10 10:21 ` Peter Rajnoha
2011-07-10 19:10   ` ben
2011-07-11  7:06     ` Peter Rajnoha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.