是否有一个简单的测试(比如确定网络设备是否在线的ping )来确定NFS是否在NAS上启用?假设根-通过终端命令行访问NAS是可用的.
在NAS命令行中,我尝试:
netstat -tulpn | grep -i nfs没有归还任何东西。可能是nfs没有运行,或者这不是正确的命令。
NAS信息:
uname -a
Linux WDMyCloud 3.10.39 #1 SMP Fri Aug 5 11:16:40 CST 2016 2014 T20p4 Build-git3f 24b4d armv7l GNU/Linux发布于 2018-03-11 22:30:36
您可以使用客户端上的rpcinfo和showmount程序来检查NFS作为远程服务是否可用。假设您的$remote指向远程服务器的名称或IP地址(例如,remote=192.168.1.1),您可以使用以下命令来询问远程系统:
# See what is out there
rpcinfo -p $remote
# Do we have NFS service
rpcinfo -T udp $remote 100003
rpcinfo -T tcp $remote 100003
# What shares are exported for us to use
showmount -e $remotehttps://unix.stackexchange.com/questions/429618
复制相似问题