故障一:

[root@mittrchinese ~]#  mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
mount.nfs: Input/output error
You have new mail in /var/spool/mail/root
[root@mittrchinese ~]#


排查:

[root@localhost /]# service portmap status
portmap (pid 6260) is running...


在客户端查看portmap运行状态,发现protmap服务没有运行.
因为NFS及其辅助程序都是基于RPC的,所以我们要确保系统中首先运行portmap服务。


解决办法:

[root@mittrchinese ~]#  service portmap start
Starting portmap:                                          [  OK  ]
[root@mittrchinese ~]#  mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
[root@mittrchinese ~]# 




故障二:

[root@J10-52-Memcache-1 ~]# mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
mount: wrong fs type, bad option, bad superblock on 172.16.3.122:/backup1/AllServerTomcatBack,
       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

[root@J10-52-Memcache-1 ~]#

解决办法:

[root@J10-52-Memcache-1 ~]# yum install nfs-utils -y

[root@J10-52-Memcache-1 ~]#  mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
[root@J10-52-Memcache-1 ~]#