"semop failed" while lvrename execution
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
Dne 30.8.2013 15:24, Oliver Rath napsal(a):
Quoted 40 lines
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 cookie0xd4d1ce4: 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/udevtestudevtest-renamed
Renamed "udevtest" to "udevtest-renamed" in volume group "dmivg" semid 98304: semop failed for cookie0xd4d54d2: 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-renamedlrwxrwxrwx 1 root root 8 Aug 30 15:17/dev/dmivg/udevtest-renamed-> ../dm-56
root at asterisk:dmiadm# ls -l/dev/mapper/dmivg-udevtest--renamedlrwxrwxrwx 1 root root 8 Aug 30 15:17/dev/mapper/dmivg-udevtest--renamedFurthermore,
_deletingthe 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.
Quoted 1 line
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
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:
Quoted 23 lines
{..[
Quoted 1 line
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
Signature · 3 lines
lvm-devel mailing list lvm-devel at redhat.com https://www.redhat.com/mailman/listinfo/lvm-devel
SLOVED [was "semop failed" while lvrename execution]
In reply to Zdenek KabelacHi 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:
Quoted 10 lines
{..[
Quoted 1 line
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}"
Quoted 13 lines
(dmsetup udevcomplete)
I assume you have there 2 such rules - when you have just added upstream rules - and left in Debian broken rules.
Zdenek
Signature · 3 lines
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
Am 30.08.2013 15:24, schrieb Oliver Rath:
Quoted 4 lines
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