使用RMAN备份数据库到NFS挂载到的本地目录/backup 失败,失败提示如下:
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/22/2013 11:07:46
ORA-19504: failed to create file "/backup/hncdfmkt001/ctl_HNCDFMKT_20131122_4_1"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options Additional information: 6
解决办法:
1,先把 挂载的目录/backup卸载
umount –f /backup
2,在/etc/filesystems后面添加如下内容
/backup:
dev = /mnt/NFS
vfs = nfs
nodename = 10.190.1.200
mount = true
options = rw,bg,hard,intr,proto=tcp,vers=3,rsize=65536,wsize=65536,timeo=600
account = false
3,挂载/backup
mount /backup