NFS儲存rman備份時的mount選項

StudyCow發表於2009-09-21

今天在用使用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@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7839206/viewspace-1027194/,如需轉載,請註明出處,否則將追究法律責任。

相關文章