Boot failure with "Invalid superblock magic number" error due to device names in /etc/fstab

Solution Verified - Updated -

Issue

  • Sometimes the system fails to boot and drops into emergency mode since mounting filesystem fails with XFS (sdb1): Invalid superblock magic number when /etc/fstab contains 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content