本篇文章为大家展示了如何理解AIX上mount NFS,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。
在AIX操作系统,所有的mount point信息都存储在文件 :/etc/filesystems
When mount information is not present in this file it can lead to errors.
cat /etc/filesystems
/u08:
dev = "/vol/xxxx"
vfs = nfs
nodename = jq_xxxx_sata
mount = false //表示是否开机自动挂载
options = bg,hard,intr,rsize=32768,wsize=32768,timeo=600,vers=3,sec=sys //挂载参数
account = false
导出文件至NFS文件系统时报错:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "********"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 5
Additional information: 18
原因:
nfs文件挂载参数配置不正确
分析:
查看/etc/filesystems
/u08:
dev = "/vol/backup"
vfs = nfs
nodename = jq_netapp_sata
mount = false
options = bg,hard,intr,rsize=32768,wsize=32768,timeo=600,vers=3,sec=sys
account = false
根据文件中写的参数手工挂载:
mount -o rw,bg,hard,intr,proto=tcp,vers=3,rsize=32768,wsize=32768,timeo=600 jq_netapp_sata:/vol/backup /u08
此类问题的官方解决方案罗列如下:
SOLUTION
=========
To implement the solution, please execute one the following steps:
1. Don't use NFS to create the files.
Or
2. Add the NFS filesys to '/etc/filesystems'
--> This is also applicable for 11G
Or
3. Edit init.ora, add the line:
event="10298 trace name context forever, level 32" \\此方法需重启数据库
and bounce the database again, if it already exist so that the new parameter is active.
上述内容就是如何理解AIX上mount NFS,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注亿速云行业资讯频道。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。