NFS Mount Error

Source: Internet
Author: User

Environment: CentOS 6.5 64bit

Mount NFS on a client machine, which results in the following error:

123456 mount: wrong fs type, bad option, bad superblock on 192.168.0.10:/bak,       missing codepage or helper program, or other error       (forseveral 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 | tailor so

Because my client machine does not have Nfs-utils installed, execute the following command:

1 yum -y install nfs-utils

Then mount again, normal.


Use command on client and server: SHOWMOUNT-E 10.10.209.148   Error

clnt_create:rpc:port mapper failure-unable to Receive:errno 113 (No route to host)

Workaround:

The firewall on the NFS server that was accessed did not add a rule, add all the following view to the iptables inside the port can be (the current solution, of course, you can also turn off the firewall, but this is less secure, if your NFS role is not very good, it is recommended that you choose another application to replace it!). After all, open so many ports, more unsafe! )

#vim/etc/sysconfig/iptables

#service iptables Stop//firewall off

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2012/29156/2012111411190844.png "style=" margin:0px; padding:0px;border:0px; "/>

by #rpcinfo-p 10.10.209.148

[Email protected]/]# rpcinfo-p 10.10.209.148
Program vers Proto Port service
100000 4 TCP 111 Portmapper
100000 3 TCP 111 Portmapper
100000 2 TCP 111 Portmapper
100000 4 UDP 111 Portmapper
100000 3 UDP 111 Portmapper
100000 2 UDP 111 Portmapper
100024 1 UDP 52943 status
100024 1 TCP 37706 Status
100011 1 UDP 875 Rquotad
100011 2 UDP 875 Rquotad
100011 1 TCP 875 Rquotad
100011 2 TCP 875 Rquotad
100003 2 TCP 2049 NFS
100003 3 TCP 2049 NFS
100003 4 TCP 2049 NFS
100227 2 TCP 2049 Nfs_acl
100227 3 TCP 2049 Nfs_acl
100003 2 UDP 2049 NFS
100003 3 UDP 2049 NFS
100003 4 UDP 2049 NFS
100227 2 UDP 2049 Nfs_acl
100227 3 UDP 2049 Nfs_acl
100021 1 UDP 37438 nlockmgr
100021 3 UDP 37438 nlockmgr
100021 4 UDP 37438 nlockmgr
100021 1 TCP 46331 Nlockmgr
100021 3 TCP 46331 Nlockmgr
100021 4 TCP 46331 Nlockmgr
100005 1 UDP 57177 Mountd
100005 1 TCP 43147 Mountd
100005 2 UDP 49154 Mountd
100005 2 TCP 54810 MOUNTD
100005 3 UDP 55707 Mountd
100005 3 TCP 58309 Mountd



This article is from "Dolphin Watching" blog, please be sure to keep this source http://swht1278.blog.51cto.com/7138082/1603687

NFS Mount Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.