开发人员反映mount报错,我问是不是权限设置的问题,开发人员坚持说已经开放了mount权限:
mount: wrong fs type, bad option, bad superblock on /mnt/pubInfo,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
我觉得应该是nfs的问题
于是
yum install nfs*
但是仍旧报错:
mount: can't find /mnt/pubInfo in /etc/fstab or /etc/mtab
我试着加了参数
mount -a -o -t nfs
仍然报错
mount.nfs: access denied by server while mounting 192.168.0.15:/raid0/data/files/pubInfo
这很明显了,应该是nas存储权限没有放开
用admin登上nas存储
找到存储---Share Folder---NFS下面的文件路径新建连接权限,然后问题迎刃而解。
转载于:https://blog.51cto.com/dadloveu/1221920