Direct NFS

From Oracle FAQ
Jump to: navigation, search

Oracle Direct NFS (dNFS) is an optimized NFS (Network File System) client that provides faster and more scalable access to NFS storage located on NAS storage devices (accessible over TCP/IP). Direct NFS is built directly into the database kernel - just like ASM which is mainly used when using DAS or SAN storage.

A good guideline is to use Direct NFS when implementing NAS storage and ASM when implementing SAN storage.

Direct NFS provides faster performance than what can be provided by the operating system's NFS driver as Oracle bypasses the operating system and generates exactly the requests it needs (no user configuration or tuning required). Data is cached just once in user space, which saves memory (no second copy in kernel space). Performance is further improved by load balancing across multiple network interfaces (if available).


Direct NFS is a new feature introduced with Oracle 11g.

Supported platforms[edit]

Direct NFS is provided as part of the database kernel, and is thus available on all supported database platforms - even those that don't support NFS natively, like Windows.

Enabling Direct NFS[edit]

Execute these commands to enable Direct NFS:

mv libodm11.so_stub
ln -s

Alternative way supported from 11.2 onward:


cd $ORACLE_HOME/rdbms/lib
make -f dnfs_on


cd $ORACLE_HOME/rdbms/lib
make -f dnfs_off


Direct NFS uses a new configuration file (ORACLE_HOME/dbs/oranfstab) or the system's mount tab file (/etc/mtab) to find out what mount points are available.

Example oranfstab file:

server: MyNFSserver1
export: /vol/oradata1 mount: /mnt/oradata1