[Bug 797226] Re: /dev/dm-10 is not created for LVM volume

Arie Skliarouk skliarie at gmail.com
Wed Jun 22 12:48:12 UTC 2011


Something weird happens:
The /dev/dm-10 is created on a freshly installed ubuntu 11.04. When I tried to create the logical volume again on the affected machine - it worked, albeit with a strange message:

  The link /dev/mf/lvmtest should had been created by udev but it was not found. Falling back to direct link creation.
  Logical volume "lvmtest" created

When I tried to remove it, I got an frightening message:

root at mf:~# lvremove /dev/mf/lvmtest
Do you really want to remove active logical volume lvmtest? [y/n]: y
  semid 524288: semop failed for cookie 0xd4d2311: incorrect semaphore state
  Failed to set a proper state for notification semaphore identified by cookie value 223159057 (0xd4d2311) to initialize waiting for incoming notifications.
  Logical volume "lvmtest" successfully removed

Googling for the keywords revealed similar problem on Fedora F15, which was solved by updated version of udev:
https://bugzilla.redhat.com/show_bug.cgi?id=690308

So looks like initial assignment of the bug to udev was correct after
all.


** Bug watch added: Red Hat Bugzilla #690308
   https://bugzilla.redhat.com/show_bug.cgi?id=690308

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/797226

Title:
  /dev/dm-10 is not created for LVM volume

Status in “udev” package in Ubuntu:
  New

Bug description:
  Binary package hint: udev

  After I created 10th logical volume (shared - see below), udev did not create /dev/dm-10 device node:
  root at mf:~# ls -l /dev/mapper/
  total 0
  crw------- 1 root root 10, 236 2011-06-05 09:04 control
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-devs -> ../dm-3
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-devs2 -> ../dm-5
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-devs3 -> ../dm-6
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-devs4 -> ../dm-8
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-dspp -> ../dm-1
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-lxc -> ../dm-0
  lrwxrwxrwx 1 root root       7 2011-06-12 00:52 mf-mail -> ../dm-9
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-matchbox -> ../dm-4
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-muze -> ../dm-2
  lrwxrwxrwx 1 root root       8 2011-06-14 17:18 mf-shared -> ../dm-10
  lrwxrwxrwx 1 root root       7 2011-06-05 09:04 mf-tests -> ../dm-7
  root at mf:~# ls -l /dev/dm*
  brw-rw---- 1 root disk 251, 0 2011-06-05 09:04 /dev/dm-0
  brw-rw---- 1 root disk 251, 1 2011-06-05 09:04 /dev/dm-1
  brw-rw---- 1 root disk 251, 2 2011-06-05 09:04 /dev/dm-2
  brw-rw---- 1 root disk 251, 3 2011-06-05 09:04 /dev/dm-3
  brw-rw---- 1 root disk 251, 4 2011-06-05 09:04 /dev/dm-4
  brw-rw---- 1 root disk 251, 5 2011-06-05 09:04 /dev/dm-5
  brw-rw---- 1 root disk 251, 6 2011-06-05 09:04 /dev/dm-6
  brw-rw---- 1 root disk 251, 7 2011-06-05 09:04 /dev/dm-7
  brw-rw---- 1 root disk 251, 8 2011-06-05 09:04 /dev/dm-8
  brw-rw---- 1 root disk 251, 9 2011-06-12 00:52 /dev/dm-9
  root at mf:~#

  Ubuntu 11.04 server amd64, kernel 2.6.38-8-server.
  ii  udev                            167-0ubuntu3                       rule-based device node and kernel event manager
  ii  lvm2                            2.02.66-4ubuntu2                   The Linux Logical Volume Manager
  ii  libdevmapper-event1.02.1        2:1.02.48-4ubuntu2                 The Linux Kernel Device Mapper userspace library
  ii  libdevmapper1.02.1              2:1.02.48-4ubuntu2                 The Linux Kernel Device Mapper userspace library

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/797226/+subscriptions




More information about the foundations-bugs mailing list