RHEL7 boots up to emergency mode when using a separate journal for XFS

Solution Verified - Updated -

Issue

  • A RHEL7 machine boots to emergency mode if a new XFS filesystem is created that uses a separate device for the journal with the logdev argument.

  • It works fine to mount the filesystem manually, but if an entry is added in /etc/fstab and the machine is rebooted, it stops at the "Welcome to emergency mode" prompt.

  • If 'Ctrl+D" is pressed, the system boots normally and automatically mounts the filesystem.

  • If the filesystem is created without a separate journal, the machine boots normally.

  • The filesystem was created as following:

# lvcreate -L 256M -n lv_journal01 rhel
# mkfs.xfs -l logdev=/dev/rhel/lv_journal01 /dev/sdb
# vi /etc/fstab
# mount -a

Environment

  • Red Hat Enterprise Linux 7

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