Skip to main content
Pure1 Support Portal

Configuring Oracle dNFS

Oracle Direct NFS (dNFS) is the NFS client functionality directly integrated into the Oracle RDBMS server.  Oracle dNFS makes the task of configuring an Oracle database on NAS storage like FlashBlade much simpler in comparison to Standard NFS (aka Kernel NFS).

Enabling Oracle Direct NFS (dNFS) client

To enable Oracle dNFS on a database host, perform the following steps.

1. Shut down the running instance of the Oracle database software.

2. Change the directory to $ORACLE_HOME/rdbms/lib.

3. Enable dNFS by running the following command.

$ make -f ins_rdbms.mk dnfs_on
  • The server parameter refers to the name of the FlashBlade storage.  This name is for informational use only and not validated.
  • The path parameters should reflect the data VIP address(es) of the FlashStorage.
  • The nfs_version should refer to nfsv3 as at this time FlashBlade supports only the V3 of the NFS protocol.
  • The export parameters should reflect the mount points similar to the entries created in /etc/fstab.
server: fb-dnfs-test-01
path: 192.168.201.100
nfs_version: nfsv3
export: /oradata01 mount: /u02
export: /oradata02 mount: /u03
export: /redo01    mount: /u04
server: fb-dnfs-test-02
path: 192.165.101.200
nfs_version: nfsv3
export: /rman01 mount: /r01
export: /rman02 mount: /r02

Sample oranfstab for multiple data VIP at the FlashBlade level.

server: fb-dnfs-test-01
path: 192.168.201.100
path: 192.168.202.100
path: 192.168.203.100
path: 192.168.204.100
nfs_version: nfsv3
export: /oradata01 mount: /u02
export: /oradata02 mount: /u03
export: /redo01    mount: /u04

5. Restart the Oracle database instance(s). 

 

Disabling the Oracle Direct NFS (dNFS) client

1. Shut down the running instance of the Oracle database software.

2. Change the directory to $ORACLE_HOME/rdbms/lib.

3. Disable dNFS by running the following command.

make -f ins_rdbms.mk dnfs_off

4. Restart the Oracle database instance(s). 

 

Verifying the use of Oracle Direct NFS client

1) If dNFS is enabled, the alert.log will show the following entry when the database is started.

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

2) Query the dNFS server information from v$dnfs_servers view inside the database.

SQL> select svrname, dirname, mntport, nfsport, wtmax, rtmax from v$dnfs_servers;

SVRNAME            DIRNAME                 MNTPORT    NFSPORT      WTMAX      RTMAX
------------------ -------------------- ---------- ---------- ---------- ----------
fb-dnfs-test-02    /rman01                    2049       2049     524288      524288

Note: Even though dNFS is enabled, Oracle only mounts the volume/filesystem and opens the files when they are accessed. If no data files are accessed, then the above view will return no rows.