|
访客您好,登录后可看更多精彩内容!发帖、回复积分还可换实物奖品哦,还在犹豫什么,赶紧注册登录吧!
您需要 登录 才可以下载或查看,没有账号?立即注册
×
执行如下命令挂载NFS时报错:
bijiafeng@pythonmc:~$ mkdir /home/bijiafeng/JJshare
bijiafeng@pythonmc:~$ cd /home/bijiafeng/JJshare
bijiafeng@pythonmc:~/JJshare$ sudo mount -t nfs 192.168.115.8:/bjfdata/jjshare /home/bijiafeng/JJshare
mount: wrong fs type, bad option, bad superblock on 192.168.115.8:/bjfdata/jjshare,
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.
解决方法:
根据错误提示,查看/sbin目录,果然发现没有/sbin/mount.nfs的文件,需要安装nfs-utils
用命令 apt-get install nfs-common 或者 yum install nfs-utils
安装之后,/sbin/下面多了两个mount文件,分别是mount.nfs和mount.nfs4,这样再运行上边的命令就可以挂载NFS共享了。
|
|