Boot failure with "Invalid superblock magic number" error due to device names in /etc/fstab
Issue
- Sometimes the system fails to boot and drops into emergency mode since mounting filesystem fails with
XFS (sdb1): Invalid superblock magic numberwhen/etc/fstabcontains device names like/dev/sdb1
Environment
- Red Hat Enterprise Linux 9
- Multiple disks
- Multiple types of filesystems
- Specifying the device file path (e.g.,
/dev/sdb1) in/etc/fstab - No filesystem corruption
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.