[root~]# mount /Share  /data/k8s/storage-agent
mount.nfs: error while loading shared libraries: libtirpc.so.1: cannot open shared object file: No such file or directory

解决:

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libtirpc-0.2.4-0.16.el7.x86_64.rpm
 
rpm -ivh libtirpc-0.2.4-0.16.el7.x86_64.rpm --nodeps --force
systemctl enable rpcbind.service;
systemctl enable rpcbind.service
systemctl enable nfs-server.service
Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to /usr/lib/systemd/system/nfs-server.service.
systemctl start nfs
systemctl status nfs
 

 

posted on 2023-03-14 10:34  属于我的梦,明明还在  阅读(483)  评论(0)    收藏  举报