mount.nfs: remote share not in 'host:dir' format

是你的挂载格式错误

linux nfs服务器一般挂载格式应该是:mount -t nfs  -o ro,bg,soft,nolock 192.168.1.100:/sharefiles /nfs/pub

要注意主机ip与文件目录之间的冒号不可少。

很多情况下上面的问题就是缺少冒号引起的。

你可能感兴趣的:(mount.nfs: remote share not in 'host:dir' format)