NFS

nfs共享目录挂载错误

nfs挂载错误如下: [code][root@ShareNode1 ]# mount -o nolock -t nfs 10.0.0.10:/data/dictinary /data/dictinary mount: wrong fs type, bad option, bad superblock on 10.0.0.10:/data/dictinary, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program) In some cases useful info is found in syslog - try dmesg | tail or so[/code]有知道这怎么解决的,望回复一下,谢谢!
已邀请:

空心菜 - 心向阳光,茁壮成长

赞同来自: Ansible

根据错误提示,需要 /sbin/mount.文件,你需要安装nfs挂载依赖包。
 
Ubuntu安装如下:
apt-get install nfs-common
Centos安装如下:
yum -y install nfs-utils nfs-utils-lib
安装完成后,/sbin/下面应该会多了两个mount文件,分别是mount.nfs和mount.nfs4

要回复问题请先登录注册