Tuesday, February 14, 2012

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

When you do export or import into oracle database, you can see below error

ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31640: unable to open dump file "<Dump file path>" for read
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3 

And also you can see below error message in alert.log file

Wed May 13 10:23:27 2009
DM00 started with pid=77, OS id=21928, job <username>.SYS_IMPORT_FULL_01
WARNING:NFS file system /ora/odmp mounted with incorrect options
WARNING:Expected NFS mount options: rsize>=32768,wsize>=32768,hard,noac/actimeo=0
Wed May 13 10:23:27 2009

Cause
The problem is due to a configuration issue trying to write the dumpfile using a directory on a NFS mount point.

Solution
Here are the mount options that need to be used for NFS volumes on Linux are:
rsize=32k, wsize=32k, hard, actimeo=0 
Along with the error there are warning messages printed in the alert log with the mount options to be used.Sometimes you may need to do the following to allow datapump to work with NFS mounted files:
Set the event in the init.ora, to disable the mount point parameter checking:

event="10298 trace name context forever, level 32"
          
Note that the event 10298 skips all mount checks.  Setting this event has to be done with care. Verify settings with your System Administrator to ensure no datafiles are corrupted

No comments:

Post a Comment