Chelsio T520 T420开启RDMA-NFS

#加载驱动

服务器:modprobe xprtrdma

        modprobe svcrdma

客户端:modprobe xprtrdma

#配置nfs

服务器:/home/in 192.168.1.1/24(rw,sync,no_root_squash)

vim /etc/exports

        exportfs -r

exportfs

systemctl restart rpcbind nfs-server

echo rdma 2050 > /proc/fs/nfsd/portlist

cat /proc/fs/nfsd/portlist

客户端:

systemctl restart rpcbind

mount.nfs 182.168.2.49:/mnt/sdb/nfs /mnt/ssd/nfs -o vers=3,rdma,port=2050,wsize=65536,rsize=65536

#卸载NFS-RDMA

rmmod iw_cxgb4

posted @ 2019-06-21 08:47  聂忠乐  阅读(511)  评论(0编辑  收藏  举报