Oracle 11g Direct NFS


I have tested the Oracle NFS Driver on Oracle Enterprise Linux 5.1 with Oracle

Instead of using the Kernel NFS Driver, Oracle 11g provides its own Direct NFS driver. Hence Oracle will optimize the I/O path between Oracle and the NFS server.

The following is the order where Oracle searchs for NFS exports.

  1. $ORACLE_HOME/dbs/oranfstab
  2. /etc/oranfstab
  3. /etc/mtab (content of mounted /etc/fstab)

So you have just to configure your /etc/fstab,  with no special parameter as mentioned in metalink#359515.1 , as follow:

filername:/vol/nfs_data01/q_nfs_data01  /nfs/SID/data1   nfs

mount -a

Then you have to link some libraries in your $ORACLE_HOME

Oracle 11gR1

mv libodm11.so_stub
ln -s

Oracle 11gR2

cd $ORACLE_HOME/rdbms/lib
make -f dnfs_on    <-- to enable
make -f dnfs_off   <-- to disable

Now you can start your Oracle Instance and check the alertlog file for this line:

Oracle instance running with ODM: Oracle Direct NFS ODM Library Version 2.0

Hence the Driver of Oracle is used for NFS.

There are also some Views to check the stats and the current nfs exports you are using:

SQL> SELECT svrname, dirname FROM v$dnfs_servers;

filername  /vol/nfs_data01/q_nfs_data01

Some other views:


Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

Du kommentierst mit Deinem Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s