报错现象
DELL 物理服务器重启后在 BIOS 界面卡住并报错
报错代码
The system Configuration Check operation resulted in the following issue: Comm Error: Backplane 0.
解决方法
步骤一:升级系统 BIOS
(步骤略)
步骤二:重启物理服务器
(步骤略)
DELL 物理服务器重启后在 BIOS 界面卡住并报错
The system Configuration Check operation resulted in the following issue: Comm Error: Backplane 0.
(步骤略)
(步骤略)
当系统启动时,系统会一直卡住,并在 console 口显示以下内容:
A start job is running for /dev/mapper/vg-lv_swap (...... / no limit)
GRUB 参数 resume=/dev/mapper/vg-lv_swap 阻止了系统启动
(步骤略)
当系统启动时出现内核列表时按下 “e” 键
在以 Linux 开头的这一行里删除以下内容:
...... resume=/dev/mapper/vg-lv_swap ......
(补充:这里以删除 GRUB 参数 resume=/dev/mapper/vg-lv_swap 为例)
同时按下 “ctrl” 键和 “x” 键
(步骤略)
# grubby --update-kernel ALL --remove-args "resume=/dev/mapper/vg-lv_swap"
(补充:这里以删除 GRUB 参数 resume=/dev/mapper/vg-lv_swap 为例)
# grubby --update-kernel ALL --add-args "selinux=0 enforcing=0"
(补充:这里以增加 selinux=0 enforcing=0 参数为例)
# grubby --update-kernel ALL --remove-args "selinux=0 enforcing=0"
(补充:这里以取消 selinux=0 enforcing=0 参数为例)
# grub2-editenv - list | grep kernelopts
kernelopts=root=UUID=ac2abk4hi-5529-26c1-b6o9-365260e054242 ro barrier=off crashkernel=auto rhgb quiet
(补充:其实就是 /etc/default/grub 文件中 GRUB_CMDLINE_LINUX=”” 这一行里的参数)
# grubby --info DEFAULT
index=0
kernel="/boot/vmlinuz-5.14.0-687.12.1.el9_8.x86_64"
args="ro barrier=off crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M $tuned_params"
root="UUID=ac2abk4hi-5529-26c1-b6o9-365260e054242"
initrd="/boot/initramfs-5.14.0-687.12.1.el9_8.x86_64.img $tuned_initrd"
title="Red Hat Enterprise Linux (5.14.0-687.12.1.el9_8.x86_64) 9.8 (Plow)"
id="e5b27xh36j583kj7231667u51l5c82hc-5.14.0-687.12.1.el9_8.x86_64"
# grubby --info DEFAULT
index=0
kernel="/boot/vmlinuz-5.14.0-687.12.1.el9_8.x86_64"
args="ro barrier=off selinux=0 crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M $tuned_params"
root="UUID=ac2abk4hi-5529-26c1-b6o9-365260e054242"
initrd="/boot/initramfs-5.14.0-687.12.1.el9_8.x86_64.img $tuned_initrd"
title="Red Hat Enterprise Linux (5.14.0-687.12.1.el9_8.x86_64) 9.8 (Plow)"
id="e5b27xh36j583kj7231667u51l5c82hc-5.14.0-687.12.1.el9_8.x86_64"
index=0
kernel="/boot/vmlinuz-5.14.0-687.12.1.el9_8.x86_64"
args="ro barrier=off selinux=0 crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M $tuned_params"
root="UUID=ac2abk4hi-5529-26c1-b6o9-365260e054242"
initrd="/boot/initramfs-5.14.0-687.12.1.el9_8.x86_64.img $tuned_initrd"
title="Red Hat Enterprise Linux (5.14.0-687.12.1.el9_8.x86_64) 9.8 (Plow)"
id="e5b27xh36j583kj7231667u51l5c82hc-5.14.0-687.10.1.el9_8.x86_64"
# wget -e "http_proxy=https://10.0.0.1:10001" https://eternalcenter.com/test.rpm
(补充:这里以通过代理 https://10.0.0.1:10001 下载 https://eternalcenter.com/ 网址上的 test.rpm 软件包为例)
(注意:当进入 RHEL 的救援模式时,如果遇到了有 ”Skip to shell“ 的选项,则选择此选项)
sh-4.2# mdadm --assemble --scan
sh-4.2# lvm vgchange -ay
sh-4.2# e2fsck -fvy /dev/mapper/<volume group>-<logical volume>
(注意:在进行此操作前建议先备份数据)
sh-4.2# e2fsck -fvy /dev/<disk device>
(注意:在进行此操作前建议先备份数据)
sh-4.2# e2fsck -fvy /dev/<disk device partition>
(注意:在进行此操作前建议先备份数据)
sh-4.2# e2fsck -fvy /dev/<md device>
(注意:在进行此操作前建议先备份数据)
sh-4.2# exit
如果是修复 EXT 格式的文件系统的话,将步骤三种的以下命令:
sh-4.2# e2fsck -fvy /dev/mapper/<volume group>-<logical volume>
sh-4.2# e2fsck -fvy /dev/<disk device>
sh-4.2# e2fsck -fvy /dev/<disk device partition>
sh-4.2# e2fsck -fvy /dev/<md device>
修改成:
sh-4.2# xfs_repair /dev/mapper/<volume group>-<logical volume>
sh-4.2# xfs_repair /dev/<disk device>
sh-4.2# xfs_repair /dev/<disk device partition>
sh-4.2# xfs_repair /dev/<md device>
(
注意:
1) 在进行此操作前建议先备份数据
2) 如果直接使用 xfs_reqaire 命令无效,可以加上 -L 参数,但是使用 -L 参数前一定要提前备份数据:
sh-4.2# xfs_repair -L /dev/mapper/<volume group>-<logical volume>
sh-4.2# xfs_repair -L /dev/<disk device>
sh-4.2# xfs_repair -L /dev/<disk device partition>
sh-4.2# xfs_repair -L /dev/<md device>
)
参考文献:
https://access.redhat.com/solutions/9541
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_file_systems/checking-and-repairing-a-file-system_
https://docs.redhat.com/zh-cn/documentation/red_hat_enterprise_linux/8/html/managing_file_systems/checking-an-xfs-file-system-with-xfs-repair_checking-and-repairing-a-file-system