Linux NFS Mount: wrong fs type, bad option, bad superblock on fs2:/data3

Refference: http://www.cyberciti.biz/faq/missing-codepage-helper-program-other-error/

 

I've netapp NFS server with /data3 as shared directory. I type the following command at Ubuntu Linux to mount the NFS server:

mount fs2:/data3 /nfs/
OR
mount 192.168.1.100:/data3 /nfs/

But I'm getting an error which read as follows:

mount: wrong fs type, bad option, bad superblock on fs2:/data3,
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

How do I fix this problem?

NFS client needs portmap service, simply install nfs-comman package as follows to fix this problem:

$ sudo apt-get install nfs-common
 

Make sure portmap service is running:
sudo service portmap status

Sample outputs:
portmap start/running, process 4193

If not just start it:
$ sudo service portmap start

One installed you can see all shared NFS directories as follows:
showmount -e fs2

Sample outputs:
Export list for fs2:
/Sales
/Web
/Accounting
/Recordings
/Public
/Network Recycle Bin 1
/Music
/Download
/Games
/Family

Simply run mount command again:
$ sudo mkdir /nfs
$ sudo mount fs2:/data3 /nfs/
$ ls /nfs
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值