Centos7
CentOS Linux release 7.7.1908 (Core)server 重啟後,停止了 xfs 支持
重啟 CentOS Linux 7.7.1908 (Core)server 後,它停止了 xfs 支持並拋出以下錯誤
掛載:未知文件系統類型“xfs”
#lsmod | grep xfs
沒有顯示任何內容,
#modprobe xfs
也無法正常工作。#find /usr/lib/modules/$(uname -r) -name *xfs* find: ‘/usr/lib/modules/3.10.0-957.10.1.el7.x86_64’: No such file or directory #find /usr/lib/modules/$(uname -r) -name \*xfs\* find: ‘/usr/lib/modules/3.10.0-957.10.1.el7.x86_64’: No such file or directory # find /usr/lib/modules -maxdepth 1 -type d /usr/lib/modules /usr/lib/modules/3.10.0-1062.4.3.el7.x86_64 /usr/lib/modules/3.10.0-1062.12.1.el7.x86_64 /usr/lib/modules/3.10.0-1062.9.1.el7.x86_64 /usr/lib/modules/3.10.0-1062.4.1.el7.x86_64 /usr/lib/modules/3.10.0-1062.7.1.el7.x86_64
解除安裝最新更新為我修復了它。
# yum history undo 210
這樣做時,我遇到了以下錯誤,
warning: file /boot/vmlinuz-3.10.0-1062.4.1.el7.x86_64: remove failed: No such file or directory warning: file /boot/symvers-3.10.0-1062.4.1.el7.x86_64.gz: remove failed: No such file or directory warning: file /boot/config-3.10.0-1062.4.1.el7.x86_64: remove failed: No such file or directory warning: file /boot/System.map-3.10.0-1062.4.1.el7.x86_64: remove failed: No such file or directory warning: file /boot/.vmlinuz-3.10.0-1062.4.1.el7.x86_64.hmac: remove failed: No such file or directory Cleanup : kernel.x86_64 33/41 warning: file /boot/vmlinuz-3.10.0-1062.12.1.el7.x86_64: remove failed: No such file or directory warning: file /boot/symvers-3.10.0-1062.12.1.el7.x86_64.gz: remove failed: No such file or directory warning: file /boot/config-3.10.0-1062.12.1.el7.x86_64: remove failed: No such file or directory warning: file /boot/System.map-3.10.0-1062.12.1.el7.x86_64: remove failed: No such file or directory warning: file /boot/.vmlinuz-3.10.0-1062.12.1.el7.x86_64.hmac: remove failed: No such file or directory
指示 coorupt 文件/儲存。謝謝@NasirRiley