* "semop failed" while lvrename execution
@ 2013-08-30 13:24 Oliver Rath
2013-08-30 13:29 ` Zdenek Kabelac
2013-08-30 13:29 ` "semop failed" while lvrename execution Oliver Rath
0 siblings, 2 replies; 5+ messages in thread
From: Oliver Rath @ 2013-08-30 13:24 UTC (permalink / raw)
To: lvm-devel
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?
Tfh!
Oliver
^ permalink raw reply [flat|nested] 5+ messages in thread
* "semop failed" while lvrename execution
2013-08-30 13:24 "semop failed" while lvrename execution Oliver Rath
@ 2013-08-30 13:29 ` Zdenek Kabelac
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
1 sibling, 2 replies; 5+ messages in thread
From: Zdenek Kabelac @ 2013-08-30 13:29 UTC (permalink / raw)
To: lvm-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread* "semop failed" while lvrename execution
2013-08-30 13:29 ` Zdenek Kabelac
@ 2013-08-30 13:37 ` Oliver Rath
2013-08-30 13:38 ` SLOVED [was "semop failed" while lvrename execution] Oliver Rath
1 sibling, 0 replies; 5+ messages in thread
From: Oliver Rath @ 2013-08-30 13:37 UTC (permalink / raw)
To: lvm-devel
Hi Zdenek!
Great! This solved my issue: I copies the
./lvm2/udev/95-dm-notify.rules,in
to
/etc/udev/rules.d/95-dm-notify.rules
Reboot .. all is fine.
Thank you so much!
Regards,
Oliver
Am 30.08.2013 15:29, schrieb Zdenek Kabelac:
> {..[
>> 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
>
>
>
> --
> lvm-devel mailing list
> lvm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/lvm-devel
^ permalink raw reply [flat|nested] 5+ messages in thread* SLOVED [was "semop failed" while lvrename execution]
2013-08-30 13:29 ` Zdenek Kabelac
2013-08-30 13:37 ` Oliver Rath
@ 2013-08-30 13:38 ` Oliver Rath
1 sibling, 0 replies; 5+ messages in thread
From: Oliver Rath @ 2013-08-30 13:38 UTC (permalink / raw)
To: lvm-devel
Hi Zdenek!
Great! This solved my issue: I copies the
./lvm2/udev/95-dm-notify.rules,in
to
/etc/udev/rules.d/95-dm-notify.rules
Reboot .. all is fine.
Thank you so much!
Regards,
Oliver
Am 30.08.2013 15:29, schrieb Zdenek Kabelac:
> {..[
>> 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
>
>
>
> --
> lvm-devel mailing list
> lvm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/lvm-devel
--
lvm-devel mailing list
lvm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/lvm-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* "semop failed" while lvrename execution
2013-08-30 13:24 "semop failed" while lvrename execution Oliver Rath
2013-08-30 13:29 ` Zdenek Kabelac
@ 2013-08-30 13:29 ` Oliver Rath
1 sibling, 0 replies; 5+ messages in thread
From: Oliver Rath @ 2013-08-30 13:29 UTC (permalink / raw)
To: lvm-devel
Am 30.08.2013 15:24, schrieb Oliver Rath:
> Hi list,
>
> im using here ubuntu 12.04.03 with lvm-git with ( --with-thin=internel
> --enable-udev_sync --enable-udev_rules
sorry, ist was
./configure --with-thin=internal --enable-udev_sync --enable-udev_rules
Copy&OPaste is always better ..
Regards
Oliver
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-08-30 13:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30 13:24 "semop failed" while lvrename execution Oliver Rath
2013-08-30 13:29 ` Zdenek Kabelac
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
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.