RE: OGG trailfile to NAS
Date: Tue, 24 Dec 2019 15:07:51 +0000
Message-ID: <DM5PR1101MB233149066CCABAB66CE21BFFD4290_at_DM5PR1101MB2331.namprd11.prod.outlook.com>
I know very little about NFS but a search turned up this link: https://odbablog.wordpress.com/2016/11/10/export-datapump-no-locks-available-nfs-share/
...which seems to imply that you need to change the mount options. Specifically, noac needs to be replaced with nolock.
Hth,
-joe
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> On Behalf Of Herring, David Sent: Tuesday, December 24, 2019 7:58 AM To: 'oracle-l_at_freelists.org' <oracle-l_at_freelists.org> Subject: OGG trailfile to NAS
Folks, I'm having a rather difficult time tracking down exactly what is wrong in our configuration related to OGG and writing to it's trailfile directory.
OGG Version - 19.1.0.0.4, RHEL 7.6
We created a symlink pointing the directory "dirdat" to a NAS:
% ln -s /dnbusr1/dnbinas/gg_dnbi/dirdat /u01/app/oracle/ACS/OGG/gg19c/dirdat
The NAS is mounted as:
<NAS> on /dnbusr1/dnbinas type nfs (rw,relatime,sync,vers=3,rsize=32768,wsize=32768,namlen=255,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,noac,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=<IP addr>,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=<IP addr>)
Once the extract starts we get the error:
ERROR OGG-01454 Unable to lock file "/u01/app/oracle/ACS/OGG/gg19c/dirdat/E0000000000" (error 37, No locks available).
Research says nfslock service needs to be restarted (done), mount options changed (done), permissions changed (done), yet we still get the same problem. If we repoint the symlink to local storage the OGG extract process works fine, so it's got to be something with the NAS yet we can't figure out what. I even strace'd the extract process which showed the following, yet wasn't helpful (to me):
[pid 83896] openat(AT_FDCWD, "/u01/app/oracle/ACS/OGG/gg19c/dirdat/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC <unfinished ...>
[pid 83897] <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out)
Any ideas on how to find out exactly what the issue is? We're stuck as we need a ton of space for the extract files and there's no way to allocate that much space to local storage.
Thx.
Regards,
Dave
This e-mail transmission and any attachments that accompany it may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law and is intended solely for the use of the individual's to whom it was intended to be addressed. If you have received this e-mail by mistake, or you are not the intended recipient, any disclosure, dissemination, distribution, copying or other use or retention of this communication or its substance is prohibited. If you have received this communication in error, please immediately reply to the author via e-mail that you received this message by mistake and also permanently delete the original and all copies of this e-mail and any attachments from your computer. Please note that coverage cannot be bound or altered by sending an email. You must receive written confirmation from a representative of our firm to put coverage in force or make changes to an existing policy.
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Dec 24 2019 - 16:07:51 CET