阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

AIX 访问Linux NFS共享错误案例

125次阅读
没有评论

共计 1859 个字符,预计需要花费 5 分钟才能阅读完成。

系统环境

操作系统: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

————————————– 分割线 ————————————–

Ubuntu 12.04 安装 NFS server http://www.linuxidc.com/Linux/2012-09/70728.htm

NFS 服务器安装配置实现 Ubuntu 12.04 与 ARM 文件共享 http://www.linuxidc.com/Linux/2012-10/73159.htm

Ubuntu 搭建 nfs 服务器 http://www.linuxidc.com/Linux/2012-10/71930.htm

文件服务器 NFS 配置详解 http://www.linuxidc.com/Linux/2013-06/86542.htm

Ubuntu 下搭建 NFS 网络文件系统服务器 http://www.linuxidc.com/Linux/2013-07/87367.htm

Heartbeat_ldirector+LB+NFS 实现 HA 及 LB、文件共享 http://www.linuxidc.com/Linux/2013-06/85292.htm

CentOS 5.5 配置 NFS 服务器教程 http://www.linuxidc.com/Linux/2013-03/81737.htm

Ubuntu 12.10 下 NFS 的安装使用 http://www.linuxidc.com/Linux/2013-03/80478.htm

————————————– 分割线 ————————————–

 

正文完
星哥说事-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-20发表,共计1859字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中