Bug#747629: systemd: boot fails w/ multi-whole-disk btrfs /home: "timed out waiting for dev-sda.device"
Zack Weinberg
zackw at panix.com
Sat May 10 15:18:16 BST 2014
Package: systemd
Version: 204-10
Severity: important
I have /home spread over two entire disks using btrfs (applied directly to
the physical disks; there is no intervening dm/LVM/whatever). These disks
have no disklabels. They are referred to in /etc/fstab by device name.
# grep ^/dev /etc/fstab | column -t
/dev/sdb1 / ext4 noatime,errors=remount-ro 0 1
/dev/sdb2 none swap sw 0 0
/dev/sda /home btrfs subvol=/home 0 2
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
systemd hangs the boot waiting for "dev-sda.device", eventually times out
and provides an emergency shell, from which I can observe that /dev/sda
exists and manually mounting /home succeeds. I have been unable to figure
out what it was waiting for.
Here is some stuff that seems like it might be relevant. All of these
commands were run under a system booted with sysvinit, because one can't
file a bug report from the emergency shell ;-/ but the only difference I
can recall from the output in the emergency shell is that "udevadm info"
had SYSTEMD_READY=0 in there when running under systemd.
# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 May 10 09:56 /dev/sda
brw-rw---- 1 root disk 8, 16 May 10 09:56 /dev/sdb
brw-rw---- 1 root disk 8, 17 May 10 09:56 /dev/sdb1
brw-rw---- 1 root disk 8, 18 May 10 09:56 /dev/sdb2
brw-rw---- 1 root disk 8, 20 May 10 09:56 /dev/sdb4
brw-rw---- 1 root disk 8, 32 May 10 09:56 /dev/sdc
brw-rw---- 1 root disk 8, 48 May 10 09:56 /dev/sdd
# blkid
/dev/sdb2: UUID="1e04942e-c69b-4430-84f3-1622ef1afe75" TYPE="swap"
/dev/sdb4: UUID="10C8D0B8C8D09D72" TYPE="ntfs"
/dev/sdb1: UUID="eaf36848-eadc-4138-b2a9-db3d8ce82f34" TYPE="ext4"
/dev/sdc: LABEL="store" UUID="ec93d2c2-7937-40f8-aaa6-c20c9775d93a" UUID_SUB="71e4e0ba-c475-4097-9219-4faf87b9b1d9" TYPE="btrfs"
/dev/sda: LABEL="store" UUID="ec93d2c2-7937-40f8-aaa6-c20c9775d93a" UUID_SUB="5bda918b-2e06-45ae-9b96-03b2f2b0b338" TYPE="btrfs"
# lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sda btrfs store
sdb
├─sdb1 ext4 /
├─sdb2 swap [SWAP]
└─sdb4 ntfs
sdc btrfs store
# udevadm info -qall -p /sys/class/block/sda
P: /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:1/0:0:1:0/block/sda
N: sda
S: disk/by-id/ata-WDC_WD5000AAKX-00U6AA0_WD-WCC2ET237617
S: disk/by-id/wwn-0x50014ee2b28542c6
S: disk/by-label/store
S: disk/by-uuid/ec93d2c2-7937-40f8-aaa6-c20c9775d93a
E: DEVLINKS=/dev/disk/by-id/ata-WDC_WD5000AAKX-00U6AA0_WD-WCC2ET237617 /dev/disk/by-id/wwn-0x50014ee2b28542c6 /dev/disk/by-label/store /dev/disk/by-uuid/ec93d2c2-7937-40f8-aaa6-c20c9775d93a
E: DEVNAME=/dev/sda
E: DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:1/0:0:1:0/block/sda
E: DEVTYPE=disk
E: ID_ATA=1
E: ID_ATA_DOWNLOAD_MICROCODE=1
E: ID_ATA_FEATURE_SET_HPA=1
E: ID_ATA_FEATURE_SET_HPA_ENABLED=1
E: ID_ATA_FEATURE_SET_PM=1
E: ID_ATA_FEATURE_SET_PM_ENABLED=1
E: ID_ATA_FEATURE_SET_PUIS=1
E: ID_ATA_FEATURE_SET_PUIS_ENABLED=0
E: ID_ATA_FEATURE_SET_SECURITY=1
E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=86
E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=86
E: ID_ATA_FEATURE_SET_SECURITY_FROZEN=1
E: ID_ATA_FEATURE_SET_SMART=1
E: ID_ATA_FEATURE_SET_SMART_ENABLED=1
E: ID_ATA_SATA=1
E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1
E: ID_ATA_WRITE_CACHE=1
E: ID_ATA_WRITE_CACHE_ENABLED=1
E: ID_BTRFS_READY=1
E: ID_BUS=ata
E: ID_FS_LABEL=store
E: ID_FS_LABEL_ENC=store
E: ID_FS_TYPE=btrfs
E: ID_FS_USAGE=filesystem
E: ID_FS_UUID=ec93d2c2-7937-40f8-aaa6-c20c9775d93a
E: ID_FS_UUID_ENC=ec93d2c2-7937-40f8-aaa6-c20c9775d93a
E: ID_FS_UUID_SUB=5bda918b-2e06-45ae-9b96-03b2f2b0b338
E: ID_FS_UUID_SUB_ENC=5bda918b-2e06-45ae-9b96-03b2f2b0b338
E: ID_MODEL=WDC_WD5000AAKX-00U6AA0
E: ID_MODEL_ENC=WDC\x20WD5000AAKX-00U6AA0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=15.01H15
E: ID_SERIAL=WDC_WD5000AAKX-00U6AA0_WD-WCC2ET237617
E: ID_SERIAL_SHORT=WD-WCC2ET237617
E: ID_TYPE=disk
E: ID_WWN=0x50014ee2b28542c6
E: ID_WWN_WITH_EXTENSION=0x50014ee2b28542c6
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=66534
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (501, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii acl 2.2.52-1
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53
ii libacl1 2.2.52-1
ii libaudit1 1:2.3.6-1
ii libc6 2.18-5
ii libcap2 1:2.22-1.2
ii libcap2-bin 1:2.22-1.2
ii libcryptsetup4 2:1.6.4-4
ii libdbus-1-3 1.8.2-1
ii libgcrypt11 1.5.3-4
ii libkmod2 17-2
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3
ii libselinux1 2.2.2-2
ii libsystemd-daemon0 204-10
ii libsystemd-journal0 204-10
ii libsystemd-login0 204-10
ii libudev1 204-10
ii libwrap0 7.6.q-25
ii sysv-rc 2.88dsf-53
ii udev 204-10
ii util-linux 2.20.1-5.7
Versions of packages systemd recommends:
ii libpam-systemd 204-10
Versions of packages systemd suggests:
pn systemd-ui <none>
-- no debconf information
-------------- next part --------------
0 overridden configuration files found.
-------------- next part --------------
==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-lvmetad.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/lvm2-lvmetad.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/cups.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cups-browsed.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/binfmt-support.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cups.path <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/libvirt-guests.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/libvirt-bin.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/avahi-daemon.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/virtlockd.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/NetworkManager.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/atd.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants/bluetooth.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
==> /var/lib/systemd/deb-systemd-helper-enabled/binfmt-support.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/binfmt-support.service
==> /var/lib/systemd/deb-systemd-helper-enabled/NetworkManager-wait-online.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/NetworkManager-wait-online.service
==> /var/lib/systemd/deb-systemd-helper-enabled/cups.path.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cups.path
==> /var/lib/systemd/deb-systemd-helper-enabled/graphical.target.wants/accounts-daemon.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/NetworkManager-dispatcher.service.dsh-also <==
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
==> /var/lib/systemd/deb-systemd-helper-enabled/atd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/atd.service
==> /var/lib/systemd/deb-systemd-helper-enabled/NetworkManager.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
==> /var/lib/systemd/deb-systemd-helper-enabled/libvirt-bin.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/virtlockd.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/lvm2-lvmetad.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/cups.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/avahi-daemon.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation-early.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/syslog.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.NetworkManager.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.Avahi.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation-early.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation-early.service
==> /var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket
/etc/systemd/system/multi-user.target.wants/cups.path
/etc/systemd/system/printer.target.wants/cups.service
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.nm-dispatcher.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.service.dsh-also <==
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/dbus-org.bluez.service
==> /var/lib/systemd/deb-systemd-helper-enabled/accounts-daemon.service.dsh-also <==
/etc/systemd/system/graphical.target.wants/accounts-daemon.service
==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation.service
==> /var/lib/systemd/deb-systemd-helper-enabled/cups-browsed.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cups-browsed.service
==> /var/lib/systemd/deb-systemd-helper-enabled/virtlockd.socket.dsh-also <==
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/sockets.target.wants/virtlockd.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/sshd.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/ssh.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.bluez.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/libvirt-guests.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
==> /var/lib/systemd/deb-systemd-helper-enabled/avahi-daemon.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
==> /var/lib/systemd/deb-systemd-helper-enabled/avahi-daemon.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ssh.service
/etc/systemd/system/sshd.service
==> /var/lib/systemd/deb-systemd-helper-enabled/virtlockd.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/virtlockd.socket
-------------- next part --------------
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sdb1 / ext4 noatime,errors=remount-ro 0 1
/dev/sdb2 none swap sw 0 0
/dev/sda /home btrfs subvol=/home 0 2
proc /proc proc defaults 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
//heathwill/media /media/heathwill-m cifs user,noauto,username=media,guest,sec=ntlm,ip=10.0.0.2 0 0
//heathwill/backup /media/heathwill-b cifs user,noauto,username=backup,guest,sec=ntlm,ip=10.0.0.2 0 0
More information about the Pkg-systemd-maintainers
mailing list