oracle数据库使用nfs存储,启动报错提示无法锁定文件
2013-06-07 10:37
721 查看
oracle报错信息:
SQL> startup> ORA-10997: another startup/shutdown operation of this instance inprogress> ORA-09968: unable to lock file> Linux-x86_64 Error: 37: No locks available> Additional information: 64
message文件报错信息:(192.168.0.200为netapp存储地址)
> Jun 6 18:21:19 eccdemo sm-notify[3707]: Unable to notify bogon, giving up> Jun 6 18:39:18 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200> Jun 6 18:39:18 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200> Jun 6 18:39:18 eccdemo kernel: lockd: cannot monitor 192.168.0.200> Jun 6 18:39:33 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200> Jun 6 18:39:33 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200> Jun 6 18:39:33 eccdemo kernel: lo> ckd: cannot monitor 192.168.0.200
解决办法:
按照oracle官方文档,需要增加挂载参数
mount -t nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp,actimeo=0 192.168.0.200:/vol/oraclenfs /oracle
具体挂载参数需要参考官方文档,每个版本是不一样的。
RAC
In the table below
Binaries is the shared mount points where the Oracle Home and CRS_HOME is installed.
Datafiles includes Online Logs, Controlfile and Datafiles
nfsvers and vers are identical on those OS platforms that has nfsvers. The ver option is an alternative to the nfsvers option. It is included for compatibility with other operating systems
Please note that the mount options on each of the following cells are applicable only to those type of files listed in the column heading.
For RMAN backup sets, image copies, and Data Pump dump files, the "NOAC" mount option should not be specified - that is because RMAN and Data Pump do not check this option and specifying this can adversely affect performance.
* NFS mount option “forcedirectio” is required on Solaris platforms when mounting the OCR/CRS files when using Oracle 10.1.0.4 or 10.2.0.2 or later (Oracle unpublished bug 4466428)
** AIX is only supported with NAS on AIX 5.3 TL04 and higher with Oracle 10.2.0.1 and later (NetApp)
*** NAS devices are only supported with HPUX 11.23 or higher ONLY
**** As per BUG 11812928, the 'intr' & 'nointr' are deprecated in OEL 5.6 kernels and up including Oracle Linux 6. It is harmless to still include it, but the "NFS: ignoring mount option: nointr" will appears. This message can be ingnored.
# These mount options are for Linux kernels 2.6 and above for older kernels please check Note 279393.1
Due to Unpublished bug 5856342, it is necessary to use the following init.ora parameter when using NAS with all versions of RAC on Linux (x86 & X86-64 platforms) until 10.2.0.4. This bug is fixed and included in 10.2.0.4 patchset.
filesystemio_options = DIRECTIO
* actime=0 or noac can be used
本文出自 “忧忧郁郁” 博客,请务必保留此出处http://wangyublues.blog.51cto.com/516298/1217792
SQL> startup> ORA-10997: another startup/shutdown operation of this instance inprogress> ORA-09968: unable to lock file> Linux-x86_64 Error: 37: No locks available> Additional information: 64
message文件报错信息:(192.168.0.200为netapp存储地址)
> Jun 6 18:21:19 eccdemo sm-notify[3707]: Unable to notify bogon, giving up> Jun 6 18:39:18 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200> Jun 6 18:39:18 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200> Jun 6 18:39:18 eccdemo kernel: lockd: cannot monitor 192.168.0.200> Jun 6 18:39:33 eccdemo rpc.statd[3705]: No canonical hostname found for 192.168.0.200> Jun 6 18:39:33 eccdemo rpc.statd[3705]: STAT_FAIL to eccdemo for SM_MON of 192.168.0.200> Jun 6 18:39:33 eccdemo kernel: lo> ckd: cannot monitor 192.168.0.200
解决办法:
按照oracle官方文档,需要增加挂载参数
mount -t nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp,actimeo=0 192.168.0.200:/vol/oraclenfs /oracle
具体挂载参数需要参考官方文档,每个版本是不一样的。
RAC
In the table belowBinaries is the shared mount points where the Oracle Home and CRS_HOME is installed.
Datafiles includes Online Logs, Controlfile and Datafiles
nfsvers and vers are identical on those OS platforms that has nfsvers. The ver option is an alternative to the nfsvers option. It is included for compatibility with other operating systems
Please note that the mount options on each of the following cells are applicable only to those type of files listed in the column heading.
For RMAN backup sets, image copies, and Data Pump dump files, the "NOAC" mount option should not be specified - that is because RMAN and Data Pump do not check this option and specifying this can adversely affect performance.
Operating System | Mount options for Binaries ## | Mount options for Oracle Datafiles | Mount options for CRS Voting Disk and OCR |
Sun Solaris * | rw,bg,hard,nointr,rsize=32768, wsize=32768,proto=tcp,noac, vers=3,suid | rw,bg,hard,nointr,rsize=32768, wsize=32768,proto=tcp,noac, forcedirectio, vers=3,suid | rw,bg,hard,nointr,rsize=32768, wsize=32768,proto=tcp,vers=3, noac,forcedirectio |
AIX (5L) ** | rw,bg,hard,nointr,rsize=32768, wsize=32768,proto=tcp, vers=3,timeo=600 | cio,rw,bg,hard,nointr,rsize=32768, wsize=32768,proto=tcp,noac, vers=3,timeo=600 | cio,rw,bg,hard,intr,rsize=32768, wsize=32768,tcp,noac, vers=3,timeo=600 |
HPUX 11.23 *** -- | rw,bg,vers=3,proto=tcp,noac, hard,nointr,timeo=600, rsize=32768,wsize=32768,suid | rw,bg,vers=3,proto=tcp,noac, forcedirectio,hard,nointr,timeo=600, rsize=32768,wsize=32768,suid | rw,bg,vers=3,proto=tcp,noac, forcedirectio,hard,nointr,timeo=600 ,rsize=32768,wsize=32768,suid |
Windows | Not Supported | Not Supported | Not Supported |
Linux x86 # **** | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp, vers=3, timeo=600, actimeo=0 | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,actimeo=0, vers=3,timeo=600 | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,noac,actimeo=0, vers=3,timeo=600 |
Linux x86-64 # **** | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,vers=3, timeo=600, actimeo=0 | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,actimeo=0, vers=3,timeo=600 | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,noac,vers=3, timeo=600,actimeo=0 |
Linux - Itanium | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,vers=3, timeo=600, actimeo=0 | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,actimeo=0, vers=3,timeo=600 | rw,bg,hard,nointr,rsize=32768, wsize=32768,tcp,noac,vers=3, timeo=600,actimeo=0 |
** AIX is only supported with NAS on AIX 5.3 TL04 and higher with Oracle 10.2.0.1 and later (NetApp)
*** NAS devices are only supported with HPUX 11.23 or higher ONLY
**** As per BUG 11812928, the 'intr' & 'nointr' are deprecated in OEL 5.6 kernels and up including Oracle Linux 6. It is harmless to still include it, but the "NFS: ignoring mount option: nointr" will appears. This message can be ingnored.
# These mount options are for Linux kernels 2.6 and above for older kernels please check Note 279393.1
Due to Unpublished bug 5856342, it is necessary to use the following init.ora parameter when using NAS with all versions of RAC on Linux (x86 & X86-64 platforms) until 10.2.0.4. This bug is fixed and included in 10.2.0.4 patchset.
filesystemio_options = DIRECTIO
Single Instance
Operating System | Mount options for Binaries | Mount options for Oracle Datafiles |
Sun Solaris * (8, 9, 10) | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,proto=tcp,suid | rw,bg,hard,rsize=32768,wsize=32768,vers=3,[forcedirectio or llock],nointr,proto=tcp,suid |
AIX (5L) ** | rw,bg,hard,rsize=32768,wsize=32768,vers=3,intr,timeo=600,proto=tcp | rw,bg,hard,rsize=32768,wsize=32768,vers=3,cio,intr,timeo=600,proto=tcp |
HPUX 11.23 **** | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,proto=tcp,suid | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,proto=tcp, suid, forcedirectio |
Windows | Not Supported | Not Supported |
Linux x86 # | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp,actimeo=0* |
Linux x86-64 # | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp,actimeo=0* |
Linux - Itanium | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp | rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp |
本文出自 “忧忧郁郁” 博客,请务必保留此出处http://wangyublues.blog.51cto.com/516298/1217792
相关文章推荐
- 由于使用了一个未经验证的清除垃圾文件的程序,导致Oracle数据库无法接(能启动),系统报错:
- VMware虚拟机无法启动,提示“无法打开磁盘,未能锁定文件”
- 使用Filezilla向VMWare中的虚拟机中上传文件提示“无法启动传输”的解决办法
- VMware虚拟机无法启动,提示“无法打开磁盘,未能锁定文件”
- windows2003 IIS 服务启动失败,提示‘另一个程序正在使用此文件,进程无法访问',解决方法
- 在IIS中不能启动网站, 提示: “另一个程序正在使用此文件,进程无法访问”
- 关于IIS服务启动失败的问题:“IIS提示‘另一个程序正在使用此文件,进程无法访问’”,的解决方法
- windows server 2003更新后 启动网站提示另一个程序正在使用此文件,进程无法访问 关闭phpstudy全部停止再启动OK
- windows2003 IIS 服务启动失败,提示‘另一个程序正在使用此文件,进程无法访问',解决方法!
- IIS网站无法启动,提示 另一个程序正在使用此文件
- IIS网站启动不了,错误提示“另一个程序正在使用此文件,进程无法访问”
- IIS不能启动,提示"另一程序正在使用此文件,进程无法访问"
- Linux主机名配置与Oracle配置文件不相符,导致oracle数据库实例无法启动
- C#操作Office文件,成功释放,但读取文件时提示"文件***正由另一进程使用,因此该进程无法访问此文件"的解决办法
- 关于直接打开ICE demo的exe文件的错误提示“无法启动此程序,因为计算机中丢失MSVCP100D.dll.”
- VMWare虚拟机提示:锁定文件失败,打不开磁盘...模块"Disk"启动失败的解决办法
- SQL Server 2000服务无法启动,提示“系统找不到指定的文件”解决方法及sp4安装不上
- NFS无法启动根文件系统的解决
- idea jetty插件启动服务后,修改代码报“请求的操作无法在使用用户映射区域打开的文件执行”
- iis提示“另一个程序正在使用此文件,进程无法访问”