mount.nfs: an incorrect mount option was specified

在ubuntu上搭建完nfs服务器之后,使用开发板挂载nfs共享文件夹

mount -t nfs 191.168.0.200:/home/ssj/nfs /mnt

出现如下报错
mount.nfs: an incorrect mount option was specified
解决办法:

mount -t nfs -o nolock,nfsvers=3,vers=3 191.168.0.200:/home/ssj/nfs /mnt

增加了-o nolock,nfsvers=3,vers=3 三个参数,解决问题

猜你喜欢

转载自blog.csdn.net/weixin_44698673/article/details/127294811
今日推荐