前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >AIX 访问Linux NFS共享错误案例

AIX 访问Linux NFS共享错误案例

作者头像
星哥玩云
发布2022-07-01 14:11:14
2K0
发布2022-07-01 14:11:14
举报
文章被收录于专栏:开源部署开源部署

系统环境

操作系统: RedHat EL4、AIX 5.3

错误现象

Linux 作为NFS Server ,AIX host 作为NFS Client;

[root@aix211 /]#mount? /backup

mount: giving up on:

? ? ? ? bksrv:/backup/cuug11/storage21

vmount: Not owner

NFS Server 配置

[root@rhel152 ~]# cat /etc/hosts

192.1688.211? ? aix211

[root@rhel152 ~]# cat? /etc/exports

#for? aix211

/backup/cuug11/storage21? aix211(rw,async,nohide,no_subtree_check)

[root@rhel152 ~]# ls -l /backup/cuug11

total 32

drwxrwxrwx? 2 Oracle dba? ? 16384 Jul 19? 2013 lost+found

drwxrwxrwx? 2 oracle dba? ? ? 4096 May 19 11:06 storage21

drwxrwxrwx? 2 oracle pegasus? 4096 Oct 24? 2013 storage22

[root@rhel152 ~]#

NFS Client配置

[root@aix211 /]#cat /etc/filesystems

/backup:

? ? ? ? dev? ? ? ? ? ? = "/backup/cuug11/storage21"

? ? ? ? vfs? ? ? ? ? ? = nfs

? ? ? ? nodename? ? ? ? = 192.168.8.152

? ? ? ? mount? ? ? ? ? = true

? ? ? ? options? ? ? ? = rw,bg,hard,intr,proto=tcp,vers=3,rsize=65536,wsize=65536,timeo=600

? ? ? ? account? ? ? ? = false

解决方法

在NFS Client 运行:

[root@aix211 /]#nfso -o nfs_use_reserved_ports=1

[root@aix211 /]#mount? /backup

[root@aix211 /]#df -m

192.168.8.152:/backup/cuug11/storage21? 14111.05? 12335.24? 13%? ? ? 22? ? 1% /backup

@至此,问题解决!

附注:

nfso 命令

用途

管理网络文件系统 (NFS) 可调参数。

nfs_use_reserved_ports? 用途:指定使用非保留 IP 端口号。调整:值 0 表示,NFS 客户机与 NFS 服务器进行通信时,将使用非保留 IP 端口号。 例如:

? ? [root@aix211 /]#nfso -o nfs_use_reserved_ports=1

本文参与?腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客?前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与?腾讯云自媒体分享计划? ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
http://www.vxiaotou.com