首页 > Linux系统管理 > centos 6.5 挂载nfs报错
2015
12-29

centos 6.5 挂载nfs报错

/bin/mount -t nfs 192.168.22.231:/data1/gitlab /mnt/back/
mount: wrong fs type, bad option, bad superblock on 192.168.7.231:/data1/gitlab,
       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安装了那些包
# rpm -qa|grep nfs
为空什么包都没装

#yum -y install nfs-utils

安装好这个包后就能挂载上了

最后编辑:
作者:saunix
大型互联网公司linux系统运维攻城狮,专门担当消防员

留下一个回复