天天看點

AIX 通路Linux NFS共享錯誤案例nfso 指令

AIX 通路Linux NFS共享錯誤案例

系統環境:

作業系統: 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 /]#df -m

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

@至此,問題解決!

附注:

管理網絡檔案系統 (NFS) 可調參數。

nfs_use_reserved_ports  

<dl></dl>

<dt>用途:</dt>

<dd>指定使用非保留 IP 端口号。</dd>

<dt>調整:</dt>

<dd>值 0 表示,NFS 客戶機與 NFS 伺服器進行通信時,将使用非保留 IP 端口号。</dd>

例如:

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

本文出自 “” 部落格,請務必保留此出處