# Server Stuck at Booting with Timed out waiting for device
# Applies to
RedHat 8.4 and later
# Symptoms
The server connects to the storage system using a Fibre Channel card and has more than 35 LUNs.
However, after the restart, booting fails with below error and enter emergency mode:
Starting Switch Root... | |
[ TIME ] Timed out waiting for device dev-mapper-rhel\x2dhome.device. | |
[DEPEND] Dependency failed for /home. | |
[DEPEND] Dependency failed for Local File Systems. | |
[DEPEND] Dependency failed for Mark the need to relabel after reboot. |
Check /var/log/messages found many errors with below:
<Hostname> systemd-udevd[1496]: Failed to update device symlinks: Too many levels of symbolic links | |
<Hostname> systemd-udevd[1687]: Failed to update device symlinks: Too many levels of symbolic links |
# Cause
This is a known bug with lower version of systemd package.
~]# rpm -qa | grep systemd | |
systemd-239-45.0.1.el8.x86_64 Tue Feb 8 21:08:30 2022 |
# Solution
Update the 'systemd' rpm version to 'systemd-239-51.0.1.el8_5.3' or the latest version available.
~]# yum update systemd-* | |
Or | |
~]# rpm -Uvh systemd-* |
After 'systemd' is upgraded, a reboot is highly recommended.