Operating System - HP-UX
1834264 Members
77308 Online
110066 Solutions
New Discussion

Re: hard option for NFS mounts versus Oracle RDBMS

 
Francis Noël
Regular Advisor

hard option for NFS mounts versus Oracle RDBMS

Hello forum people!

We have this Oracle instance that does not want to write its files on a NFS mounter filesystem.
The instance complains thusly :

ORA-27054: NFS file system where the file is created or resides is not mounted with correct options.

We dug up that oracle scans the filesystems with a "mount" command and expects some specific options to be set in order to consider the filesystem worthy of its files.

Amongst the requisites is the "hard" mount option.

We are using 11.31 and I understand "hard" is an implicit default of NFSv3 mounts. Problem is a plain "mount", as used by oracle, does not show the filesystem as hard mounted. nfsstat does confirm that all is well. Specifying hard at the mount command or not changes nothing. Explicitely specifying soft at the mount command produces a mount output featuring the soft option. Please see the following output.

# mount | grep oras
/orashare on 10.1.3.1:/oracle_RAC/racdev nointr,noac,forcedirectio,timeo=300,rsize=32768,wsize=32768,NFSv3,dev=1000009 on Fri Nov 28 14:50:55 2008
# nfsstat -m
/orashare from 10.1.3.1:/oracle_RAC/racdev
Flags: vers=3,proto=tcp,sec=sys,hard,nointr,noac,forcedirectio,link,symlink,acl,devs,rsize=32768,wsize=32768,retrans=5,timeo=300
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60

Background :
Rx3600 running 11.31, setp 2008 patch level
Using NFSv3
NFS server is an EMC Celerra NAS box

Questions :
Is there a way to coax the plain "mount" command into displaying the hard option as set ?

If the plain mount command shows a soft mount explicitely, should it now also show a hard mount in the same explicit manner ?

Are there other ways to prod Oracle into seeing the light ?

All suggestions are welcome.
1 REPLY 1
Francis Noël
Regular Advisor

Re: hard option for NFS mounts versus Oracle RDBMS

Ok scratch that, the option Oracle was looking for was "forcedirectio", hard not being displayed in the mount command's output had nothing to do with it.

wOOt !