挂载nfs失败处理

故障一:

[[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] ~]#

时间: 2024-08-03 14:00:11

挂载nfs失败处理的相关文章

服务器挂载NFS失败

问题描述: 有一台生产服务器A,messages日志里老是有NFS的报错日志如下: kernel: nfs: server 10.27.130.9 not responding, timed out 10.27.130.9这台NFS服务器早已下架,下架时未让所有的服务器先umount. 当时在A服务器上直接umount -l强行卸载的. 1,先通过df,查看/etc/mtab等无无相关配置. 2,查是否有以前的计划任务在执行,也无结果. 3,在/var/lib/nfs/rpc_pipefs/目录

使用Uboot启动内核并挂载NFS根文件系统

配置编译好内核之后,将生成的内核文件uImage拷贝到/tftpboot/下,通过tftp服务器将内核下载到开发板,使用命令:tftp 31000000 uImage.下载完成之后配置bootargs环境变量:setenv bootargs noinitrd console=ttySAC0,115200 init=/init root=/dev/nfs rw nfsroot=192.168.1.118:/home/rootfs,proto=tcp,nfsvers=3 ip=192.168.1.1

openfiler作为文件服务器,windows、linux挂载NFS实现共享,以及windows、linux实现SMB/CIFS

登陆 首先登陆openfiler的web界面,配置的ip为192.168.1.111,所以浏览器地址栏输入https://192.168.1.111:446/ 用户名:openfiler 密码:password 登陆成功后进入status界面,这里显示了服务器的基本信息,系统状态,硬件信息,网络,内存以及挂载的磁盘情况. 还可以看出该web管理工具一共由七部分组成,分别为System.Volume.Quato.Share.Server.Accounts ? ? System 点击System进入

【AIX】AIX 开机自动挂载NFS共享

AIX 开机自动挂载NFS共享当Oracle搭建在AIX系统上,进行集中备份时,可能需要通过连接Backup server挂载NFS共享来讲数据备份到存储设备上.在Linux环境下,如想实现NFS开机自动挂载,通常只要在/etc/fstab中添加相应记录即可.在AIX系统中,即使在相应目录/etc/filesystems中添加了对应挂载信息并设置mount参数为true,有时也难以实现开机自动挂载.本文通过实验,解决AIX挂载NFS共享时报错:Vmount:Not owner 问题,并实现AIX

14.1-14.3 NFS介绍,服务端安装,客户端挂载NFS

14.1 NFS介绍 NFS是Network File System的缩写 NFS最早由Sun公司开发,分2,3,4三个版本,2和3由Sun起草开发,4.0开始Netapp公司参与并主导开发,最新为4.1版本 NFS数据传输基于RPC协议,RPC为Remote Procedure Call的简写. NFS应用场景是:A,B,C三台机器上需要保证被访问到的文件是一样的,A共享数据出来,B和C分别去挂载A共享的数据目录,从而B和C访问到的数据和A上的一致 NFS架构 应用场景: A B C为别是三台

mount 远程挂载Nfs

服务器:192.168.20.204客户端:192.168.20.2031. 在服务器配置/etc/export 添加可以共享的文件夹和允许的客户端地址/home/dir 192.168.20.203(rw,no_root_squash,async) 要加上no_root_squash,async,不然会出现reason given by server: Permission denied 重启nfs服务器service nfs restart2. 在客户端运行mkdir -p /mnt/dir

vnx通过iscsi连接esxi主机,并挂载nfs和block

主要步骤: 1) vnx上创建一个nas folder,这个nas里面有一个放了一个vm文件夹 2) esxi上挂载nfs 3) vnx上创建block pool与lun 4) vnx上设置iscsi连接-> 设置iscsi的port以及连接vcenter 5)venter上设置iscsi连接->设置存储适配器,添加一个vmkernel和send target(vnx的iscsi端口) 6)vnx上配置esxi的 storage group,vcenter上添加datastore 7)vent

客户端挂载nfs报错mount: wrong fs type, bad option, bad superblock on...

解决客户端挂载nfs是出现如下报错问题:      mount: wrong fs type, bad option, bad superblock on 172.16.1.9:/home/addam,        missing codepage or helper program, or other error        (for several filesystems (e.g. nfs, cifs) you might        need a /sbin/mount.<type

ARM开发板挂载NFS

刚开始只能主机和虚拟机可以ping通开发板,但开发板不能ping通主机和虚拟机,其它的电脑可以ping通我的主机.检查了好几遍防火墙都是为关的,为了这个问题我纠结了好多天..... 国庆回来,重新开机,在关防火墙的时候,无意间看到NOD32里面的日录记录,好多ICMP包拒绝...... 关了NOD32后可以ping通了,还是防火墙的问题...... 在开发板上挂载NFS: mount -t nfs 192.168.1.100:/Project/nfsroot 提示:RPCBIND timeout