在数据备份过程中,由于目标是使用NFS文件系统,因此在导入的时候遇到了BUG,报错如下:
通过查询metalink id :387700.1
文档上说可能的问题有以下几种:
a) The mount table (eg; /etc/mnttab) can be read to check the mount options
b) The NFS mount is mounted with the "hard" option
c) The mount options include rsize>=32768 and wsize>=32768
d) For RAC environments, where NFS disks are supported, the "noac" mount option is used.
文档上指出通过设置event 10298事件可以避免,不过设置event 10298需要重启数据库生效,目前为生产环境,这方法不能用。
通过调整上述的参数,hard,rsize,wsize都不能解决。
最后检查NFS的配置,发现客户端的/etc/filesystems中未加入mount nfs文件系统的条目
增加以下条目后,重新mount,解决。
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/exp/bak/expdp_01.dmp"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 6
通过查询metalink id :387700.1
文档上说可能的问题有以下几种:
a) The mount table (eg; /etc/mnttab) can be read to check the mount options
b) The NFS mount is mounted with the "hard" option
c) The mount options include rsize>=32768 and wsize>=32768
d) For RAC environments, where NFS disks are supported, the "noac" mount option is used.
文档上指出通过设置event 10298事件可以避免,不过设置event 10298需要重启数据库生效,目前为生产环境,这方法不能用。
通过调整上述的参数,hard,rsize,wsize都不能解决。
最后检查NFS的配置,发现客户端的/etc/filesystems中未加入mount nfs文件系统的条目
增加以下条目后,重新mount,解决。
vi /etc/filesystems
/back:
dev = /back/epicard
vfs = nfs
nodename = 10.60.0.45
mount = true
options = rw,bg,hard,intr,proto=tcp,vers=3,rsize=65536,wsize=65536,timeo=600
account = false
umount /back
mount /back