解决mount时发生错误wrong fs type, bad option, bad superblock

远程挂载时发生如下错误:
$ mount -t nfs 192.168.0.68:/data /mnt/data -o proto=tcp -o nolock
mount: wrong fs type, bad option, bad superblock on 192.168.0.68:/data,
       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
以下是解决办法:

centos中执行:

$ yum install nfs-utils

ubantu中执行:

$ apt-get install nfs-common

你可能感兴趣的:(运维)