https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c12
Thomas Fehr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
InfoProvider|fehr@novell.com |
--- Comment #12 from Thomas Fehr 2011-02-18 08:52:39 UTC ---
In my 11.3 with updated lvm and device-mapper rpms, the problem can be
reproduced on the command line. I do not have the y2logs any more, I also
do not have an 11.4 system running right now. But there is no reason to
assume the same problem would not also happen with 11.4 under the right
conditions.
Here a cut and pasted dump of a command sequence I just typed:
Lagrange:~ # lvcreate -L 5G -n test2 system
Logical volume "test2" created
Lagrange:~ # lvremove /dev/system/test2
Can't remove open logical volume "test2"
Lagrange:~ #
The device-mapper package on my system contains your fix:
* Fri Jan 14 2011 lnussel@suse.de
- the lsmod|grep in boot.device-mapper is superfluous, modprobe does
that internally anyways
* Wed Dec 15 2010 cmeng@novell.com
- sleep and try to wait opne_count to be 0 while lvremove.
(Bug #642296)
The problem seems to be a race, it does not happen always but in a quite
high percentages of lvremove commands (and also when doing "dmsetup remove
..")
The machines is a Quad-Core with Hyperthreading, so it has 8 logical cores.
I got the Quad-Core last December, before I had a dual core machine where
the problem was not present (at least not regularly).
When one looks at the processes udev starts with "udevadm monitor" it is
quite clear that any operation needing exclusive access to a device may
fail because because udev is starting helper processes that open the
modified device in parallel. In my opinion the only way to fix this
reliable is to have a way to stop udev from processing any events while
a crtical sequence of block device manipulations is done and let udev
resume the event processing after block device manipulation is finished.
If you need access to the machine via ssh I can add you ssh key to
/root/.ssh/authorized_keys.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.