故障一:
[[email protected] ~]# mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
mount.nfs: Input/output error
You have new mail in /var/spool/mail/root
[[email protected] ~]#
排查:
[[email protected] /]# service portmap status
portmap (pid 6260) is running...
在客户端查看portmap运行状态,发现protmap服务没有运行.
因为NFS及其辅助程序都是基于RPC的,所以我们要确保系统中首先运行portmap服务。
解决办法:
[[email protected] ~]# service portmap start
Starting portmap: [ OK ]
[[email protected] ~]# mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
[[email protected] ~]#
故障二:
[[email protected] ~]# 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
[[email protected] ~]#
解决办法:
[[email protected] ~]# yum install nfs-utils -y
[[email protected] ~]# mount -t nfs 172.16.3.122:/backup1/AllServerTomcatBack /backupTomcatsPJS
[[email protected] ~]#