All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: "semop failed" while lvrename execution
Date: Fri, 30 Aug 2013 15:29:31 +0200	[thread overview]
Message-ID: <52209E3B.8070006@redhat.com> (raw)
In-Reply-To: <52209D20.8090701@mglug.de>

Dne 30.8.2013 15:24, Oliver Rath napsal(a):
> Hi list,
>
> im using here ubuntu 12.04.03 with lvm-git with ( --with-thin=internel
> --enable-udev_sync --enable-udev_rules
>
> Now following occurs:
>
> root at asterisk:dmiadm# lvcreate --name udevtest -V 50M -T
> dmivg/winthinpool  Rounding up size to full physical extent 52,00 MiB
>    Logical volume "udevtest" created
>    semid 65536: semop failed for cookie 0xd4d1ce4: incorrect semaphore state
>    Failed to set a proper state for notification semaphore identified by
> cookie value 223157476 (0xd4d1ce4) to initialize waiting for incoming
> notifications.
> root at asterisk:dmiadm# lvrename /dev/dmivg/udevtest udevtest-renamed
>    Renamed "udevtest" to "udevtest-renamed" in volume group "dmivg"
>    semid 98304: semop failed for cookie 0xd4d54d2: incorrect semaphore state
>    Failed to set a proper state for notification semaphore identified by
> cookie value 223171794 (0xd4d54d2) to initialize waiting for incoming
> notifications.
> root at asterisk:dmiadm# ls -l /dev/dmivg/udevtest-renamed
> lrwxrwxrwx 1 root root 8 Aug 30 15:17 /dev/dmivg/udevtest-renamed ->
> ../dm-56
> root at asterisk:dmiadm# ls -l /dev/mapper/dmivg-udevtest--renamed
> lrwxrwxrwx 1 root root 8 Aug 30 15:17 /dev/mapper/dmivg-udevtest--renamed
>
>
>
> Furthermore, _deleting the lv shows:
>
> # lvremove /dev/dmivg/udevtest-renamed
> Do you really want to remove active logical volume udevtest-renamed?
> [y/n]: y
>    Logical volume "udevtest-renamed" successfully removed
>    semid 131072: semop failed for cookie 0xd4d2f12: incorrect semaphore state
>    Failed to set a proper state for notification semaphore identified by
> cookie value 223162130 (0xd4d2f12) to initialize waiting for incoming
> notifications.
>
>
> What is todo?


You probably have a mixture of udev rules in your debian
There must be exactly 1 rule with this content:

95-dm-notify.rules:ENV{DM_COOKIE}=="?*", RUN+="/usr/sbin/dmsetup udevcomplete 
$env{DM_COOKIE}"

(dmsetup udevcomplete)

I assume you have there 2 such rules - when you have just added upstream rules 
- and left in Debian broken rules.

Zdenek





  reply	other threads:[~2013-08-30 13:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 13:24 "semop failed" while lvrename execution Oliver Rath
2013-08-30 13:29 ` Zdenek Kabelac [this message]
2013-08-30 13:37   ` Oliver Rath
2013-08-30 13:38   ` SLOVED [was "semop failed" while lvrename execution] Oliver Rath
2013-08-30 13:29 ` "semop failed" while lvrename execution Oliver Rath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52209E3B.8070006@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.