Is the MGS specification correct?或Is the MGS running? lustre文件系统挂载(mount)失败

出现这个问题很大可能是LNet没有配置成功,导致了客户端或者OST连接不上服务器端,可按以下操作进行LNet配置:

Step1: 关闭SELinux和配置防火墙

setenforce 0            
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config

systemctl stop firewalld
systemctl disable firewalld

Step2: 获取自己系统的网络接口名称
在终端输入ifconfig即可:
在这里插入图片描述
例如我这里显示的是ens160,这在Step3需要用到

Step3: LNet网络配置

lustre_rmmod
modprobe -v lnet
lnetctl lnet configure

lnetctl net add --net tcp --if ens160 #将ens160替换为自己的网络接口名称
lnetctl net show

sudo sh -c 'lnetctl export > /etc/sysconfig/lnet.conf'
systemctl enable lnet

静态配置:

sudo vim /etc/modprobe.d/lustre.conf
options lnet networks="tcp(ens160)" #将ens160替换为自己的网络接口名称

到这里再去尝试挂载应该就可以了,注意在挂载时最好加上-o rw选项,让挂载的文件系统可读写。

mount -o rw -t lustre /home/ost1 /mnt/ost1
  • 8
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值