Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-23 Thread Marco d'Itri
reassign 343671 lvm2 merge 343671 344040 thanks On Dec 20, Marco d'Itri <[EMAIL PROTECTED]> wrote: > This is the configuration which allegedly does not work, it means that > udev will not create or delete any device name matching dm-[0-9]*. > > KERNEL=="dm-[0-9]*",NAME="" > > I wond

Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-20 Thread Marco d'Itri
On Dec 20, Alasdair G Kergon <[EMAIL PROTECTED]> wrote: > But enough speculation - please can someone provides a trace or source > code showing what udev is or isn't doing that might be interfering > with LVM2? For example, if udev ever opens the devices that could > race against LVM2 deleting th

Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-20 Thread Alasdair G Kergon
On Tue, Dec 20, 2005 at 11:27:22AM +0100, Bastian Blank wrote: > Why? The kernel don't wait for the completion of events and the devices > are exported as dm-*. Exactly - it's an asynchronous design prone to races - udev does not offer an option for the kernel to wait for the completion. So by th

Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-20 Thread Bastian Blank
On Mon, Dec 19, 2005 at 10:16:37PM +, Alasdair G Kergon wrote: > If people want to use udev at the same time as lvm2/device-mapper they have > to configure it to ignore device-mapper devices completely. Why? The kernel don't wait for the completion of events and the devices are exported as dm-

Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-19 Thread Alasdair G Kergon
On Mon, Dec 19, 2005 at 10:15:33PM +0100, Marco d'Itri wrote: > On Dec 19, Filippo Giunchedi <[EMAIL PROTECTED]> wrote: > > apparently http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343671#msg20 > > has the > > solution, works here. I'm not sure either why ignore_device has been removed > Becaus

Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-19 Thread Marco d'Itri
On Dec 19, Filippo Giunchedi <[EMAIL PROTECTED]> wrote: > apparently http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343671#msg20 has > the > solution, works here. I'm not sure either why ignore_device has been removed Because another Debian maintainer requested it with a good rationale, so I am

Bug#343671: Bug#344040: lvm2: sometimes can create snapshot, sometimes can't

2005-12-19 Thread Filippo Giunchedi
On Mon, Dec 19, 2005 at 07:31:58PM +, Alasdair G Kergon wrote: > On Mon, Dec 19, 2005 at 04:33:39PM +0100, Filippo Giunchedi wrote: > > Package: lvm2 > > Version: 2.02.01-1 > > Severity: normal > > > LV chroots/test1 in use: not deactivating > > Couldn't deactivate new snapshot. > > > b