On Fri, Jun 06, 2008 at 10:33:36PM +0100, Tim Woodall wrote: > The /etc/udev/rules.d/multipath.rules exposes a race that causes LVM > snapshots to fail to be created intermittently. You mean:
# take care of devmap partitioning ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \ PROGRAM="/sbin/dmsetup -j %M -m %m --noopencount --noheadings -c -o name info", \ RUN+="/sbin/kpartx -a /dev/mapper/%c" Does changing ACTION="add" into ACTION="change" do any good? > This caused my backups to suddenly start failing when I installed this > package to get kpartx. > > /sbin/lvcreate -A n -L500M -s -nroot-backup /dev/vg0/root > LV vg0/root-backup in use: not deactivating > Couldn't deactivate new snapshot. Do you have a chance to try the packages from lenny? Kpartx is split out into a separate package there and the udev rules are much more robust. There are packports of this versions available here: http://debian.bzed.de/etch-backports/devmapper_1.02.24-4~bpo40+1.dsc http://debian.bzed.de/etch-backports/multipath-tools_0.4.8-7~bpo40+1.dsc Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]