灰儿 发表于 2023-10-13 06:40:44

找不到showmount命令:-bash: showmount: command not found

找不到showmount命令:-bash: showmount: command not found

问题描述
在K8S集群的Worker节点上,使用   showmount -e 172.31.0.2命令发现找不到该命令:
-bash: showmount: command not found

解决方式
查找
showmount: yum search showmount


安装showmount命令:
运行以下命令安装showmount命令所在的软件包:

1.在Debian或Ubuntu中,使用的命令:
apt-get install nfs-common

2.在CentOS或RHEL中,使用的命令:
yum install nfs-utils
yum install nfs-utils.x86_64


使用   showmount -e 172.31.0.2,发现已经好用了!



页: [1]
查看完整版本: 找不到showmount命令:-bash: showmount: command not found