Bug#758808: systemd: timed out waiting for lvm devices
Johannes Schauer
j.schauer at email.de
Thu Aug 21 22:16:15 BST 2014
Hi,
Quoting Michael Biebl (2014-08-21 20:20:42)
> Am 21.08.2014 16:33, schrieb Johannes Schauer:
> > --%<-----------------------------------------------------------------------
> > P: /devices/virtual/block/dm-3
> > N: dm-3
> > L: 50
> > E: DEVNAME=/dev/dm-3
> > E: DEVPATH=/devices/virtual/block/dm-3
> > E: DEVTYPE=disk
> > E: DM_NAME=volumegroup-home
> > E: DM_STATE=ACTIVE
> > E: DM_TABLE_STATE=LIVE
> > E: DM_TYPE=raid
> > E: DM_UDEV_DISABLE_DISK_RULES_FLAG=1
> > E: DM_UDEV_DISABLE_OTHER_RULES_FLAG=1
> > E: DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG=1
> > E: DM_UUID=LVM-ZrtPTxYRO88LRxfFiUfqELhK7tE4YTTNBfnUKnN3SCnNObmn0Hg0EkyGAIqVHMvJ
> > E: MAJOR=253
> > E: MINOR=3
> > E: SUBSYSTEM=block
> > E: USEC_INITIALIZED=42402
> > -->%-----------------------------------------------------------------------
>
> That looks strange.
>
> The DM_TYPE is set to raid and you don't have the TAGS=:systemd: set.
Should I try changing either of those two?
> Do you use some special LVM setup?
my LVM setup was created by the Debian installer (I don't remember which
version of it) about two years ago. I did not change my partition setup since
then.
> Do you have any custom rules in /etc/udev/rules.d/?
Only /etc/udev/rules.d/99-ft2232.rules which handles the ftdi_sio driver.
> Could you list the output of
> ls -l /etc/udev/rules.d /lib/udev/rules.d/
Here is the output of the command:
/etc/udev/rules.d:
total 16
-rw-r--r-- 1 root root 4222 Apr 18 2012 70-persistent-cd.rules
-rw-r--r-- 1 root root 1556 Jan 23 2014 70-persistent-net.rules
-rw-r--r-- 1 root root 957 Apr 25 2012 99-ft2232.rules
/lib/udev/rules.d/:
total 864
-rw-r--r-- 1 root root 1189 Apr 29 2013 42-qemu-usb.rules
-rw-r--r-- 1 root root 2407 Jul 16 00:52 42-usb-hid-pm.rules
-rw-r--r-- 1 root root 121 Jul 16 00:52 50-firmware.rules
-rw-r--r-- 1 root root 226 May 12 17:14 50-rbd.rules
-rw-r--r-- 1 root root 3677 Jul 16 00:52 50-udev-default.rules
-rw-r--r-- 1 root root 6497 Aug 19 16:23 55-dm.rules
-rw-r--r-- 1 root root 2446 Aug 19 16:23 56-lvm.rules
-rw-r--r-- 1 root root 65 Nov 14 2012 60-bridge-network-interface.rules
-rw-r--r-- 1 root root 1126 Jul 16 00:52 60-cdrom_id.rules
-rw-r--r-- 1 root root 153 Jul 16 00:52 60-drm.rules
-rw-r--r-- 1 root root 229 Jun 20 08:30 60-fuse.rules
-rw-r--r-- 1 root root 2711 Jul 7 20:37 60-gnupg.rules
-rw-r--r-- 1 root root 3237 Jun 2 23:12 60-gpsd.rules
-rw-r--r-- 1 root root 343 May 6 2013 60-joystick.rules
-rw-r--r-- 1 root root 821 Jul 16 00:52 60-keyboard.rules
-rw-r--r-- 1 root root 2187 Mar 9 12:26 60-kpartx.rules
-rw-r--r-- 1 root root 186884 Nov 20 2013 60-libgphoto2-2.rules
-rw-r--r-- 1 root root 245172 Apr 13 12:08 60-libgphoto2-6.rules
-rw-r--r-- 1 root root 72401 Jul 6 2013 60-libsane.rules
-rw-r--r-- 1 root root 912 Jun 25 2012 60-pcmcia.rules
-rw-r--r-- 1 root root 616 Jul 16 00:52 60-persistent-alsa.rules
-rw-r--r-- 1 root root 2464 Jul 16 00:52 60-persistent-input.rules
-rw-r--r-- 1 root root 947 Jul 16 00:52 60-persistent-serial.rules
-rw-r--r-- 1 root root 1495 Aug 19 16:23 60-persistent-storage-dm.rules
-rw-r--r-- 1 root root 491 Feb 21 2011 60-persistent-storage-lvm.rules
-rw-r--r-- 1 root root 5567 Jul 16 00:52 60-persistent-storage.rules
-rw-r--r-- 1 root root 1420 Jul 16 00:52 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root 769 Jul 16 00:52 60-persistent-v4l.rules
-rw-r--r-- 1 root root 40 Jun 6 20:26 60-qemu-system-common.rules
-rw-r--r-- 1 root root 166 Jul 16 00:52 61-accelerometer.rules
-rw-r--r-- 1 root root 1758 Oct 14 2013 63-md-raid-arrays.rules
-rw-r--r-- 1 root root 418 Jul 16 00:52 64-btrfs.rules
-rw-r--r-- 1 root root 680 Oct 14 2013 64-md-raid-assembly.rules
-rw-r--r-- 1 root root 257 Jul 8 15:30 64-xorg-xkb.rules
-rw-r--r-- 1 root root 119042 Jul 10 16:11 69-libmtp.rules
-rw-r--r-- 1 root root 4347 Aug 19 16:23 69-lvm-metad.rules
-rw-r--r-- 1 root root 170 Jul 8 21:23 69-xorg-vmmouse.rules
-rw-r--r-- 1 root root 211 Apr 19 14:03 70-btrfs.rules
-rw-r--r-- 1 root root 523 Jul 16 00:52 70-power-switch.rules
-rw-r--r-- 1 root root 2582 Aug 21 00:22 70-uaccess.rules
-rw-r--r-- 1 root root 2569 Apr 29 2013 70-udev-acl.rules
-rw-r--r-- 1 root root 2352 Aug 21 00:22 71-seat.rules
-rw-r--r-- 1 root root 260 Jul 16 00:52 73-idrac.rules
-rw-r--r-- 1 root root 596 Aug 21 00:22 73-seat-late.rules
-rw-r--r-- 1 root root 452 Jul 16 00:52 75-net-description.rules
-rw-r--r-- 1 root root 5628 Jul 16 00:52 75-persistent-net-generator.rules
-rw-r--r-- 1 root root 174 Jul 16 00:52 75-probe_mtd.rules
-rw-r--r-- 1 root root 426 Jul 16 00:52 75-tty-description.rules
-rw-r--r-- 1 root root 4400 Jul 16 00:52 78-sound-card.rules
-rw-r--r-- 1 root root 182 Apr 19 14:03 80-btrfs-lvm.rules
-rw-r--r-- 1 root root 716 Jul 16 00:52 80-drivers.rules
-rw-r--r-- 1 root root 491 Jul 16 00:52 80-net-name-slot.rules
-rw-r--r-- 1 root root 82 Jul 16 00:52 80-networking.rules
-rw-r--r-- 1 root root 93 Nov 21 2012 85-hdparm.rules
-rw-r--r-- 1 root root 171 Jun 2 10:52 85-hwclock.rules
-rw-r--r-- 1 root root 221 Feb 23 2010 85-regulatory.rules
-rw-r--r-- 1 root root 158 Jan 10 2013 90-alsa-restore.rules
-rw-r--r-- 1 root root 155 Jul 16 00:52 95-udev-late.rules
-rw-r--r-- 1 root root 1356 Mar 24 2012 97-bluetooth-hid2hci.rules
-rw-r--r-- 1 root root 259 Mar 24 2012 97-bluetooth.rules
-rw-r--r-- 1 root root 3874 Aug 21 00:22 99-systemd.rules
I ran `debsums -ce | grep udev` to find changed configuration files but that
command did not show any output so I guess it the problem can only be
additional files. So I ran the following command:
$ comm -23 <(find /lib/udev/rules.d/ -type f | sort) <(apt-file search /lib/udev/rules.d/ | cut -d ' ' -f 2 | sort)
/lib/udev/rules.d/42-qemu-usb.rules
/lib/udev/rules.d/60-libgphoto2-2.rules
/lib/udev/rules.d/60-persistent-storage-lvm.rules
/lib/udev/rules.d/97-bluetooth.rules
So apparently there are four files in /lib/udev/rules.d/ which do not belong to
any package. I did the same for /etc/udev/rules.d:
$ comm -23 <(find /etc/udev/rules.d/ -type f | sort) <(apt-file search /etc/udev/rules.d/ | cut -d ' ' -f 2 | sort) ~
/etc/udev/rules.d/70-persistent-cd.rules
/etc/udev/rules.d/70-persistent-net.rules
/etc/udev/rules.d/99-ft2232.rules
The only file that was added by me was /etc/udev/rules.d/99-ft2232.rules. I
looked into the other files and they seem to have been left there by some
package. They contain comments and refer to hardware I never saw. I can
probably safely remove these files but neither of them seems to be relevant for
my problem except for 60-persistent-storage-lvm.rules which contains:
--%<-----------------------------------------------------------------------
# Udev rules for LVM.
# See /usr/share/doc/lvm2/README.udev for further information.
ACTION!="add|change", GOTO="persistent_storage_lvm_end"
ENV{DM_UDEV_RULES}=="", GOTO="persistent_storage_lvm_end"
ENV{DM_UUID}!="LVM-?*", GOTO="persistent_storage_lvm_end"
ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="persistent_storage_lvm_end"
ENV{DM_VG_NAME}=="?*", ENV{DM_LV_NAME}=="?*", ENV{DM_LV_LAYER}=="", SYMLINK+="$env{DM_VG_NAME}/$env{DM_LV_NAME}"
LABEL="persistent_storage_lvm_end"
-->%-----------------------------------------------------------------------
cheers, josch
More information about the Pkg-systemd-maintainers
mailing list