Comment 3 for bug 38409

Revision history for this message
In , Andreas Sundstrom (sunkan) wrote : Re: Bug#343671: udev: LVM snapshots don't work

Marco d'Itri wrote:
> On Dec 17, Andreas Sundstrom <email address hidden> wrote:
>
>
>>matrix:/home/sunkan# /sbin/lvm lvcreate -s -L 1G -n var_s /dev/3ware/var
>> LV 3ware/var_s in use: not removing
>
> Find why it's in use then.
>

After a quick test it seems that reverting this change back to how it
was in 0.071 fixes it.

matrix:/# diff -u /etc/udev/udev.rules~ /etc/udev/udev.rules
--- /etc/udev/udev.rules~ 2005-12-17 02:13:53.000000000 +0100
+++ /etc/udev/udev.rules 2005-12-17 11:08:03.000000000 +0100
@@ -93,6 +93,6 @@
 SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k"

 # device mapper creates its own device nodes, so ignore these
-KERNEL=="dm-[0-9]*", NAME=""
+KERNEL=="dm-[0-9]*", OPTIONS+="ignore_device"
 KERNEL=="device-mapper", NAME="mapper/control"

Do you know the background to why this has changed?
I can't notice any other change in behaviour except that snapshotting
fails for some reason I don't quite understand.