[systemd-devel] boot fails with LVMs-on-RAID; systemd "Timed out" and "Dependency failed" errors ?
h15234 at mailas.com
h15234 at mailas.com
Fri Feb 20 08:38:00 PST 2015
I'm working on a machine running systemd v210 (Opensuse 13.2)
Its disks are all on RAID.
/boot is on RAID1 on /dev/md126
The remaining partitions are on LVM-on-RAID10
The LVs are
LV_ROOT VG0 -wi-ao--- 20.00g
LV_SWAP VG0 -wi-ao--- 8.00g
LV_HOME VG0 -wi-ao--- 100.00g
LV_VAR VG0 -wi-ao--- 1.00g
The system fails to boot, dropping to a maintenance mode prompt.
Simply hitting Ctrl-D to continue, finishes booting the system.
After boot, checking
journalctl -b | egrep -i "Timed out|result=dependency" | egrep -i "dev|mount"
Feb 20 08:16:15 ender systemd[1]: Job dev-VG0-LV_HOME.device/start timed out.
Feb 20 08:16:15 ender systemd[1]: Timed out waiting for device dev-VG0-LV_HOME.device.
Feb 20 08:16:15 ender systemd[1]: Job systemd-fsck at dev-VG0-LV_HOME.service/start finished, result=dependency
Feb 20 08:16:15 ender systemd[1]: Dependency failed for File System Check on /dev/VG0/LV_HOME.
Feb 20 08:16:15 ender systemd[1]: Job dev-VG0-LV_VAR.device/start timed out.
Feb 20 08:16:15 ender systemd[1]: Timed out waiting for device dev-VG0-LV_VAR.device.
Feb 20 08:16:15 ender systemd[1]: Job systemd-fsck at dev-VG0-LV_VAR.service/start finished, result=dependency
Feb 20 08:16:15 ender systemd[1]: Dependency failed for File System Check on /dev/VG0/LV_VAR.
Feb 20 08:16:15 ender systemd[1]: Job dev-disk-by\x2did-dm\x2dname\x2dVG0\x2dLV_HOME.device/start timed out.
Feb 20 08:16:15 ender systemd[1]: Timed out waiting for device dev-disk-by\x2did-dm\x2dname\x2dVG0\x2dLV_HOME.device.
This is reported ON the same system. I.e., all the LVs are correctly mounted and fully functional.
Why are these time-outs & dependency-fails occurring? What do I need to change/fix to make sure it does not happen, and avoid getting dropped into emergency mode on boot?
hanlon
More information about the systemd-devel
mailing list