Hi There,
I am testing for learning purpose Direct NFS configuration.
OS is OEL 5.4 x86 2.6.18-164.el5
Oracle version is 11.2.0.3 x86
Single instance configuration.
I have an openfiler NFS share no_root_squash is on
On linux here is my fstab entry
openfiler:/mnt/nfsdrive/nfsdrive/DNFS /u02 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=600
mount /u02 works fine
make -f ins_rdbms.mk dnfs_on executed
I have created a folder /u02/NFS and added a tablespace to my oracle instance with a datafile located in /u02/NFS
[root@single u02]# ll /u02/NFS
total 51212
-rw-rw----+ 1 oracle dba 52436992 Jul 23 21:54 datafile.dbf
Shutdown immediate;
Startup;
In alert log...
Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 3.0
later on... when required to open datafile on NFS volume...
ALTER DATABASE OPEN
Direct NFS: attempting to mount /mnt/nfsdrive/nfsdrive/DNFS on filer openfiler defined in mtab
Direct NFS: channel config is:
channel id [0] local [] path [openfiler] <-- This is normal or not? probably yes because no oranfstab file
Tue Jul 23 15:12:02 2013
Direct NFS: mount complete dir /mnt/nfsdrive/nfsdrive/DNFS on openfiler mntport 762 nfsport 2049
So I have create an oranfstab file as follow in $ORACLE_HOME/dbs
ps: 192.168.102.101 is the openfiler ip adress
server: openfiler
path: 192.168.102.101
local: 1192.168.102.5 oups!! I am so sorry, stupid mistake! It work now
export: /mnt/nfsdrive/nfsdrive/DNFS mount: /u02
Then shhutdow immediate;
Startup
Alert log
ALTER DATABASE OPEN
Direct NFS: attempting to mount /mnt/nfsdrive/nfsdrive/DNFS on filer openfiler defined in oranfstab
Direct NFS: channel config is:
channel id [0] local [1192.168.102.5] path [192.168.102.101]
The database does not open. It hang .... after the mount.
Thanks for your feedback
jko