构建客户端内核模块
官方文档地址:http://www.beegfs.io/wiki/BuildingKernelModulesOpenTkLibrary
配置文件
查看配置
> cat /etc/beegfs/beegfs-client-autobuild.conf | grep -v '^#' | grep -v '^$'
buildArgs=-j8
buildEnabled=true
重新构建
重启客户端
查看内核 build 是否存在
ls -al /lib/modules/`uname -r`/build
# 不存在执行
# ln -s /usr/src/kernels/`uname -r` /lib/modules/`uname -r`/build
# 特殊情况。rocky9
# 版本存在差异
# ln -s /usr/src/kernels/5.14.0-162.6.1.el9_1.0.1.x86_64 /lib/modules/5.14.0-162.6.1.el9_1.x86_64/build
查看 ib 模块是否安装
> modinfo ib_core
filename: /lib/modules/5.14.0-70.30.1.el9_0.x86_64/kernel/drivers/infiniband/core/ib_core.ko.xz
alias: rdma-netlink-subsys-4
license: Dual BSD/GPL
description: core kernel InfiniBand API
author: Roland Dreier
alias: net-pf-16-proto-20
alias: rdma-netlink-subsys-5
rhelversion: 9.0
srcversion: EE4CE74980856D71D5C413F
depends:
retpoline: Y
intree: Y
name: ib_core
vermagic: 5.14.0-70.30.1.el9_0.x86_64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Rocky kernel signing key
sig_key: 20:B3:2E:54:97:68:6A:C2:F8:55:34:03:66:4B:97:03:6A:F5:F7:4F
sig_hashalgo: sha256
signature: 48:09:14:30:D9:72:D7:3C:CE:04:4C:FA:B5:4B:31:FA:54:FF:3F:40:
27:8D:CE:E2:FF:34:1A:37:14:CA:DF:00:FC:A6:33:99:22:2E:69:15:
8C:71:E6:AA:7A:3B:B8:5E:01:EC:D0:83:16:A4:71:64:65:FB:61:DF:
81:39:8E:76:A9:89:E5:11:E7:66:EA:8C:F2:94:14:3B:A4:FD:19:FA:
6F:BA:E5:C9:D9:61:24:E2:B3:69:13:9F:1C:9B:77:28:C3:02:C8:7B:
1E:1C:CF:D7:44:09:5E:DE:40:33:B7:EE:08:C8:65:8D:7E:59:7B:B1:
09:2E:07:8F:91:F5:B9:58:BE:60:C4:36:36:BE:57:10:0F:8B:3F:2E:
F2:1D:9C:B5:C9:3E:2B:47:8D:3A:38:BB:0E:5D:82:30:65:74:D3:A6:
76:97:8A:9B:89:30:A4:EF:79:48:CC:69:8C:C5:9E:0B:4A:2C:F0:C6:
58:D9:4B:75:36:C3:74:5A:93:69:90:2E:06:E4:B2:74:6E:02:77:F4:
88:99:BE:60:47:A4:88:D9:B4:3E:BD:A9:9D:B8:28:B2:1B:8A:40:14:
ED:AC:FE:28:AF:58:AB:07:DB:70:DD:25:F4:06:4E:2E:11:97:0E:87:
D4:2C:C8:03:41:B3:9E:59:BA:AF:16:79:67:1E:2B:5C:61:9E:2F:4C:
62:15:8D:6D:CC:57:D3:35:D9:F9:87:8D:CA:88:9A:E1:52:D5:D1:C2:
90:4C:69:C1:0F:98:81:C9:DB:CD:28:AD:BC:F3:E9:B1:0D:43:D0:38:
9E:FA:D6:A9:F4:E8:3B:88:9C:E8:66:F5:34:0F:18:4F:94:5C:EA:86:
26:C7:1F:C2:6E:EF:44:A0:C5:85:F4:72:5E:32:A0:0A:B0:F3:53:75:
85:1C:4C:4C:36:11:20:F0:92:5A:13:60:3C:34:1D:D4:2A:97:45:94:
AE:A4:E0:7B:8F:95:74:8A:1C:83:8D:C7:30:63:60:73:D3:9C:E7:F5:
8C:18:D4:81
parm: send_queue_size:Size of send queue in number of work requests (int)
parm: recv_queue_size:Size of receive queue in number of work requests (int)
parm: netns_mode:Share device among net namespaces; default=1 (shared) (bool)
parm: force_mr:Force usage of MRs for RDMA READ/WRITE operations (bool)
修改构建参数