When I used openfiler to create a nas storage system and install oracle software, everything went smoothly. When I used nfs to install the Oracle database, the ora error was reported.
When I used openfiler to create a nas storage system and install oracle software, everything went smoothly. When I used nfs to install the Oracle database, the ora error was reported.
Yesterday, I used openfiler to create a nas storage system and install the Oracle software. Everything went well before that. The ora error was reported when I created the database. When I used nfs to install the Oracle database, the mount option had special requirements, the summary is as follows for future reference:
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
Operating System
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, suidrw, 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
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, vers = 3,
Timeo = 600.
* 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
# 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 BinariesMount 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
* Actime = 0 or noac can be used
As shown above, setting the parameter still results in an error ora-27086 with the following error message:
[Oraten @ yue ~] $ Oerr ora 1, 27086
27086,000 00, "unable to lock file-already in use"
// * Cause: the file is locked by another process, indicating that it is
// Currently in use by a database instance.
// * Action: determine which database instance legitimately owns this file.
Restart openfiler and solve the problem successfully. It seems that the lock on openfiler has not been released due to improper mount.
Although oracle supports nfs, nfs is rarely used. Most of them use nfs to back up databases or store archives.
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian