修改参数:
nfso -o nfs_use_reserved_ports=1
当oracle通过NFS倒数据时,碰到以下报错:
WARNING: NFS file system /dp mounted with incorrect options()
WARNING:Expected NFS mount options: rsize>=32768,wsize>=32768,hard,
解决办法:
1、检查
showmount -e
报错:xxxx:RPC: 1832-019 Program not registered
2、重启nfs
# stopsrc -g nfs
0513-044 The biod Subsystem was requested to stop.
0513-044 The rpc.statd Subsystem was requested to stop.
0513-044 The rpc.lockd Subsystem was requested to stop.
# stopsrc -s portmap
0513-044 The portmap Subsystem was requested to stop.
# startsrc -s portmap
0513-059 The portmap Subsystem has been started. Subsystem PID is 1573172.
# startsrc -g nfs
0513-059 The biod Subsystem has been started. Subsystem PID is 5832866.
0513-059 The nfsd Subsystem has been started. Subsystem PID is 3670954.
0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 6357752.
0513-059 The nfsrgyd Subsystem has been started. Subsystem PID is 3473682.
0513-059 The gssd Subsystem has been started. Subsystem PID is 7864488.
0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 3473684.
0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 2294578.
# showmount -e
showmount: no exported file systems for xxxxx(正常了)
3、挂载nfs:
mount -o rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,vers=3,timeo=600 xxx:/abc /abc
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞1
添加新评论1 条评论
2016-01-04 14:49