您尚未登录。

楼主 #1 2020-01-15 17:28:03

Gentlepig
会员
注册时间: 2018-10-24
已发帖子: 1,212
积分: 1148.5

挂载nfs文件目录不成功。

挂载命令如下:
mount -o vers=4 192.168.1.121:/home/any/imx6ul/nfs /home/imx6ul/mountnfs

结果:
mount: wrong fs type, bad option, bad superblock on 192.168.1.121:/home/any/imx6ul/nfs,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)                                                         
In some cases useful info is found in syslog - try 
       dmesg | tail or so.

网上搜索,说是安装nfs-common,发现已经安装了,而且/sbin/mount.nfs文件也存在。

最近编辑记录 Gentlepig (2020-01-15 17:32:29)

离线

楼主 #4 2020-01-16 10:48:52

Gentlepig
会员
注册时间: 2018-10-24
已发帖子: 1,212
积分: 1148.5

Re: 挂载nfs文件目录不成功。

mount -t nfs 192.168.1.121:/home/any/imx6ul/nfs /mnt

尝试这个命令,结果一样。
/sbin/mount.nfs这个命令存在的。

离线

楼主 #7 2022-04-26 16:55:27

Gentlepig
会员
注册时间: 2018-10-24
已发帖子: 1,212
积分: 1148.5

Re: 挂载nfs文件目录不成功。

忘了当时是怎么解决的,当时是解决了这个问题能挂载nfs的。

今年又走了一遍,这次是改成vers=3解决的,不确定上次是不是也是因为这个原因。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn