问题描述:源端 10.2.0.4 目标端:11.2.0.4 在目标端划分1T存储与源端做一个NFS
错误:指定dump导出为本地文件系统,正常。 指定dump导出为nfs文件系统,报错。
报错信息如下:
ORA-39001: invalid argument value
ORA-39000: bad dump file specificationORA-31641: unable to create dump file "/devotd_dpump/expdp_metadata_vspp_sun.dmp"ORA-27054: NFS file system where the file is created or resides is not mounted with correct optionsAdditional information: 3ORA-27037: unable to obtain file statusLinux-x86_64 Error: 2: No such file or directoryAdditional information: 3CAUSE
The NFS mount options seem to be incorrect. No specific setting was found to address this. The below options were tried but the same error was still encountered:
- Mount options as per - ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
- Backup using RMAN into this problematic mount point was successful
- Traditional export using exp to this problematic mount point was successful
- Creation of a new datafile to this mount point was successful
- Creation of a file from OS side to this problematic mount point was successful
- Reboot of the NFS mount point made no difference
SOLUTION
The only solution which worked in this case was to set the below event which disables the mount point parameter checking:
sqlplus / as sysdbaalter system set events '10298 trace name context forever, level 32';
做 10298 events 后,解决问题。