linux:ora-27054:nfs file system error

RMAN 备份时提示错误,如下 :
[root@rac2 ~]# su - oracle
  /home/oracle@rac2>rman target /;

RMAN> backup current controlfile format '/orabk/control_0407b.ctl';       
Starting backup at 07-APR-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=391 instance=lir2 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
channel ORA_DISK_1: starting piece 1 at 07-APR-10
channel ORA_DISK_1: finished piece 1 at 07-APR-10
piece handle=/orabk/control_0407b.ctl tag=TAG20100407T103911 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 07-APR-10
Starting Control File and SPFILE Autobackup at 07-APR-10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2010 10:39:14
ORA-19504: failed to create file "/orabk/c-2546604656-20100407-04.ctlbk"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 3
 
经过哈哈朋友帮忙后,发现10G的挂载有点小技巧。
这个是原先的挂载方式。
[root@rac2 ~]# mount -o tcp 192.168.0.240:/nfsshare/ /orabk;
 
修改为 :
[root@rac2 ~]# mount /orabk;
[root@rac2 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             119G   41G   73G  36% /
none                  7.9G     0  7.9G   0% /dev/shm
192.168.0.240:/nfsshare
                      3.6T  2.6T 1008G  73% /orabk
 
重新备份就成功了;
RMAN> backup current controlfile format '/orabk/control_0407d.ctl';
Starting backup at 07-APR-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
channel ORA_DISK_1: starting piece 1 at 07-APR-10
channel ORA_DISK_1: finished piece 1 at 07-APR-10
piece handle=/orabk/control_0407d.ctl tag=TAG20100407T104212 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 07-APR-10
Starting Control File and SPFILE Autobackup at 07-APR-10
piece handle=/orabk/c-2546604656-20100407-05.ctlbk comment=NONE
Finished Control File and SPFILE Autobackup at 07-APR-10
 
附: fstab 文件内容。
 
[root@rac2 ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0
192.168.0.240:/nfsshare /orabk  nfs     rw,hard,nointr,tcp,noac,vers=3,timeo=600,rsize=32768,wsize=32768        0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
[root@rac2 ~]#
 
 
 
 

你可能感兴趣的:(linux,error,File,System,nfs)