Troubleshooting
After a new data disk is added to /etc/fstab, a server boots into emergency mode. journalctl shows "Timed out waiting for device /dev/disk/by-uuid/..." followed by "Dependency failed for /data". The root filesystem is mounted read-only in the emergency shell. What is the BEST fix?
Show the answer
Correct answerA. Remount / read-write, find the disk's real UUID with blkid, and correct the /data entry in /etc/fstab
systemd waits for a UUID that does not exist, so the /data mount unit fails and boot drops to emergency mode. Remounting root read-write and fixing the fstab entry with the UUID from blkid resolves it. Booting an older kernel does not help because every kernel reads the same /etc/fstab.