A.2.3. 启用内核模块
执行以下命令启用内核模块:
您必须确保 Red Hat Gluster Storage 节点载入 dm_thin_pool 和 target_core_user 模块。
# modprobe target_core_user# modprobe dm_thin_pool执行以下命令来验证模块是否已载入:
# lsmod | grep dm_thin_pool# lsmod | grep target_core_user注意要确保这些操作在重启后保留,请创建以下文件并更新每个文件,其内容如下:
# cat /etc/modules-load.d/dm_thin_pool.conf dm_thin_pool# cat /etc/modules-load.d/target_core_user.conf target_core_user您必须确保在所有 OpenShift Container Platform 节点上载入 dm_multipath 模块。
# modprobe dm_multipath执行以下命令来验证模块是否已载入:
# lsmod | grep dm_multipath注意要确保这些操作在重启后保留,请创建以下文件并使用上述内容更新该文件:
# cat /etc/modules-load.d/dm_multipath.conf dm_multipath