今天在用使用nfs保存rman备份时,出现如下提示,意思是nfs的mount参数不对:
RMAN> backup datafile 1 format '/nfs/archive/%s_%U_%P.dbf';
Starting backup at 15-SEP-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=146 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf
channel ORA_DISK_1: starting piece 1 at 15-SEP-09
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/15/2009 17:00:07
ORA-19504: failed to create file "/nfs/archive/1_01kpangm_1_1_%P.dbf"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3
查了下metalink,只需要在mount时加上rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 选项即可 ,如:
mount -t nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 rac1:/hxb/nfs /nfs
查了下metalink需要用[@more@]