在AIX 上用如下命令挂载RedHat7 (centos 7)的NFS:
mount -o rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
xxx.x.x.x:/expbak /expbak
报有问题,一开始报:vmount operation not permit
参考这个来解决了:

5.2版本下执行:

nfso -o nfs_use_reserved_ports=1

5.2(含)以上执行:

nfso -p -o nfs_use_reserved_ports=1

用后如下挂上:
mount 192.168.8.202:/data /bakData
是可以挂上了,但使用时,要建文件,报没权限

采用如下方法解决:
AIX mount RedHat的NFS
RedHat : 192.168.8.202

AIX: 192.168.8.193

在RedHat服务器上设置NFS服务:

1、RedHat服务器端的设定NFS都是在/etc/exports这个文件中进行设定的,设定格式如下:

[root@redhat backup]# vi /etc/exports

(加入一行)

/backup 192.168.8.193(rw,sync,no_root_squash,insecure,no_wdelay,anonuid=501,anongid=503)

启动NFS服务:

[root@redhat backup]# service nfs restart

Shutting down NFS mountd: [ OK ]

Shutting down NFS daemon: [ OK ]

Shutting down NFS quotas: [ OK ]

Shutting down NFS services: [ OK ]

Starting NFS services: [ OK ]

Starting NFS quotas: [ OK ]

Starting NFS daemon: [ OK ]

Starting NFS mountd: [ OK ]

[root@redhat backup]# showmount -e localhost

Export list for localhost:

/backup 192.168.8.194,192.168.8.193

2、在AIX服务器上showmount一下:

bash-3.00# showmount -e 192.168.8.202

export list for 192.168.8.202:

/backup 192.168.8.193

查看nfs_use_reserved_ports的参数值,一般默认是0

bash-3.00# nfso –a | grep use_reserved_ports

如果是0 ,则将nfs_use_reserved_ports参数值设置为1

bash-3.00# nfso –p -o nfs_use_reserved_ports=1

编辑/etc/filesystems:

在/etc/filesystems 添加如下内容

/backup:

    dev                     = /backup

    vfs                      =nfs

    nodename        = 192.168.8.202

    mount                = true

    options              = rw,bg,soft,nointr,rsize=32768,wsize=32768,proto=tcp,vers=3,timeo=600

    account             = false

在AIX服务器上mount上

bash-3.00# mount -o rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,vers=3,timeo=600 192.168.8.202:/backup /backup
————————————————
版权声明:本文为CSDN博主「jadesuper6」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/jadesuper6/article/details/8080613