Ubuntu 18.04 上的 OCFS2-缺少内核模块

Ubuntu 18.04 上的 OCFS2-缺少内核模块

我正在尝试在几台运行 Ubuntu 18.04 的服务器上设置 OCFS2。我首先安装 ocfs2-tools,然后从那里进行设置。我无法解决的问题似乎是系统缺少一些内核模块

Jan 25 08:18:38 xyz.domain.com systemd[1]: Starting Load o2cb Modules...
Jan 25 08:18:38 xyz.domain.com o2cb[1533]: checking debugfs...
Jan 25 08:18:38 xyz.domain.com modprobe[1567]: FATAL: Module ocfs2_stackglue not found in directory /lib/modules/4.15.0-43-generic
Jan 25 08:18:38 xyz.domain.com modprobe[1575]: FATAL: Module ocfs2_dlmfs not found in directory /lib/modules/4.15.0-43-generic
Jan 25 08:18:38 xyz.domain.com o2cb[1533]: Loading filesystem "ocfs2_dlmfs": Unable to load filesystem "ocfs2_dlmfs"
Jan 25 08:18:38 xyz.domain.com o2cb[1533]: Failed
Jan 25 08:18:38 xyz.domain.com systemd[1]: o2cb.service: Main process exited, code=exited, status=1/FAILURE
Jan 25 08:18:38 xyz.domain.com systemd[1]: o2cb.service: Failed with result 'exit-code'.
Jan 25 08:18:38 xyz.domain.com systemd[1]: Failed to start Load o2cb Modules.

我似乎无法解决这个错误。在 Ubuntu 18.04 上运行 OCFS2 的人有什么见解吗?

apt-file search 的输出:

sudo apt-file search ocfs2_dlmfs.ko
linux-image-4.15.0-1002-oem: /lib/modules/4.15.0-1002-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1006-oem: /lib/modules/4.15.0-1006-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1008-kvm: /lib/modules/4.15.0-1008-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1008-oem: /lib/modules/4.15.0-1008-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1009-oem: /lib/modules/4.15.0-1009-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1010-kvm: /lib/modules/4.15.0-1010-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1011-kvm: /lib/modules/4.15.0-1011-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1012-kvm: /lib/modules/4.15.0-1012-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1012-oem: /lib/modules/4.15.0-1012-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1013-oem: /lib/modules/4.15.0-1013-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1015-oem: /lib/modules/4.15.0-1015-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1016-kvm: /lib/modules/4.15.0-1016-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1017-kvm: /lib/modules/4.15.0-1017-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1017-oem: /lib/modules/4.15.0-1017-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1018-oem: /lib/modules/4.15.0-1018-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1019-kvm: /lib/modules/4.15.0-1019-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1020-kvm: /lib/modules/4.15.0-1020-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1021-kvm: /lib/modules/4.15.0-1021-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1021-oem: /lib/modules/4.15.0-1021-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1023-kvm: /lib/modules/4.15.0-1023-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1024-oem: /lib/modules/4.15.0-1024-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1025-kvm: /lib/modules/4.15.0-1025-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1026-kvm: /lib/modules/4.15.0-1026-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1026-oem: /lib/modules/4.15.0-1026-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1027-kvm: /lib/modules/4.15.0-1027-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1028-kvm: /lib/modules/4.15.0-1028-kvm/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1028-oem: /lib/modules/4.15.0-1028-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-1030-oem: /lib/modules/4.15.0-1030-oem/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-20-lowlatency: /lib/modules/4.15.0-20-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-22-lowlatency: /lib/modules/4.15.0-22-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-23-lowlatency: /lib/modules/4.15.0-23-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-24-lowlatency: /lib/modules/4.15.0-24-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-29-lowlatency: /lib/modules/4.15.0-29-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-30-lowlatency: /lib/modules/4.15.0-30-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-32-lowlatency: /lib/modules/4.15.0-32-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-33-lowlatency: /lib/modules/4.15.0-33-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-34-lowlatency: /lib/modules/4.15.0-34-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-36-lowlatency: /lib/modules/4.15.0-36-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-38-lowlatency: /lib/modules/4.15.0-38-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-39-lowlatency: /lib/modules/4.15.0-39-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-42-lowlatency: /lib/modules/4.15.0-42-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.15.0-43-lowlatency: /lib/modules/4.15.0-43-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-4.18.0-13-lowlatency: /lib/modules/4.18.0-13-lowlatency/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1006-gcp: /lib/modules/4.15.0-1006-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1007-oracle: /lib/modules/4.15.0-1007-oracle/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1008-gcp: /lib/modules/4.15.0-1008-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1009-azure: /lib/modules/4.15.0-1009-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1009-gcp: /lib/modules/4.15.0-1009-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1010-gcp: /lib/modules/4.15.0-1010-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1012-azure: /lib/modules/4.15.0-1012-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1013-azure: /lib/modules/4.15.0-1013-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1014-azure: /lib/modules/4.15.0-1014-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1014-gcp: /lib/modules/4.15.0-1014-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1015-gcp: /lib/modules/4.15.0-1015-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1017-gcp: /lib/modules/4.15.0-1017-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1018-azure: /lib/modules/4.15.0-1018-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1018-gcp: /lib/modules/4.15.0-1018-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1019-azure: /lib/modules/4.15.0-1019-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1019-gcp: /lib/modules/4.15.0-1019-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1021-azure: /lib/modules/4.15.0-1021-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1021-gcp: /lib/modules/4.15.0-1021-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1022-azure: /lib/modules/4.15.0-1022-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1023-azure: /lib/modules/4.15.0-1023-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1023-gcp: /lib/modules/4.15.0-1023-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1024-gcp: /lib/modules/4.15.0-1024-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1025-azure: /lib/modules/4.15.0-1025-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1025-gcp: /lib/modules/4.15.0-1025-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1026-gcp: /lib/modules/4.15.0-1026-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1028-azure: /lib/modules/4.15.0-1028-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1030-azure: /lib/modules/4.15.0-1030-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1031-azure: /lib/modules/4.15.0-1031-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1032-azure: /lib/modules/4.15.0-1032-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1035-azure: /lib/modules/4.15.0-1035-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-1036-azure: /lib/modules/4.15.0-1036-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-20-generic: /lib/modules/4.15.0-20-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-22-generic: /lib/modules/4.15.0-22-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-23-generic: /lib/modules/4.15.0-23-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-24-generic: /lib/modules/4.15.0-24-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-29-generic: /lib/modules/4.15.0-29-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-30-generic: /lib/modules/4.15.0-30-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-32-generic: /lib/modules/4.15.0-32-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-33-generic: /lib/modules/4.15.0-33-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-34-generic: /lib/modules/4.15.0-34-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-36-generic: /lib/modules/4.15.0-36-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-38-generic: /lib/modules/4.15.0-38-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-39-generic: /lib/modules/4.15.0-39-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-42-generic: /lib/modules/4.15.0-42-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.15.0-43-generic: /lib/modules/4.15.0-43-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.18.0-1004-gcp: /lib/modules/4.18.0-1004-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.18.0-1005-gcp: /lib/modules/4.18.0-1005-gcp/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.18.0-1006-azure: /lib/modules/4.18.0-1006-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.18.0-1007-azure: /lib/modules/4.18.0-1007-azure/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko
linux-modules-extra-4.18.0-13-generic: /lib/modules/4.18.0-13-generic/kernel/fs/ocfs2/dlmfs/ocfs2_dlmfs.ko

答案1

您没有安装内核模块,您需要安装与您的内核版本匹配的软件包:

apt install linux-modules-extra-4.15.0-43-generic

因为在你的错误中你有这个"FATAL: Module ocfs2_stackglue not found in directory /lib/modules/4.15.0-43-generic"

相关内容