Oracle Database uses nfs storage. When an error occurs, the system prompts that the file cannot be locked.

Source: Internet
Author: User
Tags oracle documentation

Oracle error message:

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 file error message: 192.168.0.200 is the address of netapp storage)

> Jun 6 18:21:19 eccdemo sm-clusters y [3707]: Unable to operate y 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


Solution:

According to the official oracle documentation, mount parameters need to be added

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

For details about the mount parameters, refer to the official documentation. Each version is different.

RAC

In the table below
  • Binaries is the shared mount points where the Oracle Home and CRS_HOME is installed.

  • Datafiles shortdes 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 supported 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 shoshould 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 optionsBinaries ##

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, and 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

* 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 onAIX 5.3 TL04And higher with Oracle 10.2.0.1 and later (NetApp)
* ** NAS devices are only supportedHPUX 11.23Or 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 pinned 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


* Actime = 0 or noac can be used


This article is from the "worried" blog, please be sure to keep this source http://wangyublues.blog.51cto.com/516298/1217792

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.