引用
[root@bflinux Tbackup]# cat /etc/exports
/Tbackup/orcl hisdb02(rw,async,no_root_squash)
/Tbackup/orcl hisdb02(rw,async,no_root_squash)
aix作为nfs客户端,其/etc/filesystems中已经添加如下条目
引用
/Tbackup/orcl:
dev= "/Tbackup/orcl"
vfs= nfs
nodename= bflinux
mount= true
type= nfs
options= rw,bg,hard,intr,vers=3,rsize=32768,wsize=32768,timeo=600,proto=tcp,biods=32 account= false
dev= "/Tbackup/orcl"
vfs= nfs
nodename= bflinux
mount= true
type= nfs
options= rw,bg,hard,intr,vers=3,rsize=32768,wsize=32768,timeo=600,proto=tcp,biods=32 account= false
~
在aix系统挂载时出现以下错误:
引用
root@hisdb02:/dev#mount /Tbackup/orcl
mount: 1831-008 giving up on:
bflinux:/Tbackup/orcl
vmount: Operation not permitted.
mount: 1831-008 giving up on:
bflinux:/Tbackup/orcl
vmount: Operation not permitted.
经检查是由于nfs_use_reserved_ports保持默认值(linux为1,aix为0),只需将nfs_use_reserved_ports修改为1即可。
引用
root@hisdb02:/dev#nfso -a|grep nfs_use_reserved_ports
nfs_use_reserved_ports = 0
root@hisdb02:/dev#nfso -p -o nfs_use_reserved_ports=1
Setting nfs_use_reserved_ports to 1
Setting nfs_use_reserved_ports to 1 in nextboot file
nfs_use_reserved_ports = 0
root@hisdb02:/dev#nfso -p -o nfs_use_reserved_ports=1
Setting nfs_use_reserved_ports to 1
Setting nfs_use_reserved_ports to 1 in nextboot file