[FAILED] Failed to mount /boot

Posted on

Raid is configured on 2 disks. The setup is having RHEL8.4 installed and I updated to RHEl8.8 today using dnf update command. After update completed, when I tried to boot from new kernel, the system went into emergency mode.

[ 9.345579] XFS (nvme1n1p2): xfs_do_force_shutdown(0x8) called from line 1071 of file fs/xfs/xfs_trans.c. Return address = 000000009f5a24e9
[ 9.345584] XFS (nvme1n1p2): Corruption of in-memory data detected. Shutting down filesystem
[ 9.345587] XFS (nvme1n1p2): Please unmount the filesystem and rectify the problem(s)
[ 9.345593] XFS (nvme1n1p2): Failed to recover intents
[ 9.345621] XFS (nvme1n1p2): log mount finish failed
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Give root password for maintenance
(or press Control-D to continue):

I #ed out /boot in /etc/fstab and system is able to boot.

lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
nvme0n1
├─nvme0n1p1
├─nvme0n1p2 xfs 36797ea9-e673-44f5-b3ab-80f9d867eb68
└─nvme0n1p3 linux_raid_member localhost.localdomain:pv00 b2328c72-8049-ed78-0831-ca70849563a2
└─md127 LVM2_member 5R2Nda-qY4Q-5FQO-RxYr-jUwJ-562o-xVpKDj
├─rhel-root xfs 14eeedd2-a3bf-4aa4-a781-1fd7f4bafa6f /
├─rhel-swap swap e25d3038-4023-4ccb-ae7d-11facd4944bc [SWAP]
├─rhel-var xfs 2981e4a4-2f2c-4cd6-9567-00bda9fa81ae /var
├─rhel-home xfs 7ec1313a-7577-473f-bcac-46e242986b1c /home
├─rhel-tmp xfs 3c963460-31cd-48d8-9a37-87489dc379ac /tmp
├─rhel-opt xfs 5cb86437-d93b-4df7-8fa0-796c792aa71d /opt
├─rhel-cdplv xfs 69e673c4-04c8-4f9c-8797-9e4eece81fc7 /cdpapp
└─rhel-crashdump xfs acfad7c1-d58a-4e98-beff-5ccd9d2c5cc4 /var/crash
nvme1n1
├─nvme1n1p1
├─nvme1n1p2 xfs 36797ea9-e673-44f5-b3ab-80f9d867eb68
└─nvme1n1p3 linux_raid_member localhost.localdomain:pv00 b2328c72-8049-ed78-0831-ca70849563a2
└─md127 LVM2_member 5R2Nda-qY4Q-5FQO-RxYr-jUwJ-562o-xVpKDj
├─rhel-root xfs 14eeedd2-a3bf-4aa4-a781-1fd7f4bafa6f /
├─rhel-swap swap e25d3038-4023-4ccb-ae7d-11facd4944bc [SWAP]
├─rhel-var xfs 2981e4a4-2f2c-4cd6-9567-00bda9fa81ae /var
├─rhel-home xfs 7ec1313a-7577-473f-bcac-46e242986b1c /home
├─rhel-tmp xfs 3c963460-31cd-48d8-9a37-87489dc379ac /tmp
├─rhel-opt xfs 5cb86437-d93b-4df7-8fa0-796c792aa71d /opt
├─rhel-cdplv xfs 69e673c4-04c8-4f9c-8797-9e4eece81fc7 /cdpapp
└─rhel-crashdump xfs acfad7c1-d58a-4e98-beff-5ccd9d2c5cc4 /var/crash
[root@dx11530-hs /]# cat /etc/fstab

#

/etc/fstab

Created by anaconda on Sun Nov 21 06:37:39 2021

#

Accessible filesystems, by reference, are maintained under '/dev/disk'

See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

#
/dev/mapper/rhel-root / xfs defaults 0 0

UUID=36797ea9-e673-44f5-b3ab-80f9d867eb68 /boot xfs defaults 0 0

/dev/mapper/rhel-home /home xfs defaults 0 0
/dev/mapper/rhel-opt /opt xfs defaults 0 0
/dev/mapper/rhel-tmp /tmp xfs defaults 0 0
/dev/mapper/rhel-var /var xfs defaults 0 0
/dev/mapper/rhel-swap swap swap defaults 0 0
/dev/mapper/rhel-crashdump /var/crash xfs defaults 0 0
/dev/mapper/rhel-cdplv /cdpapp xfs defaults 0 0

cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.18.0-305.25.1.el8_4.ppc64le root=/dev/mapper/rhel-root ro crashkernel=auto rd.md.uuid=b2328c72:8049ed78:0831ca70:849563a2 rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap transparent_hugepage=never

uname -a
Linux dx11530-hs 4.18.0-305.25.1.el8_4.ppc64le #1 SMP Mon Oct 18 14:27:13 EDT 2021 ppc64le ppc64le ppc64le GNU/Linux

The kernel should have been 4.18.0-477.27.1.el8_8.ppc64le #1 SMP Thu Aug 31 11:01:36 EDT 2023 ppc64le ppc64le ppc64le GNU/Linux

Responses