背景描述
使用rman的0,1,2级备份方式,备份文件存放在一个搭建了NFS_SERVER的远程计算机上。
在使用rman备份的时候报错
ORA-19504: failed to create file "/Oracle_BAK/oradataback/backupsets/db_level1_20170531_0ms5keql_1_1"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
确保磁盘没有写入数据之后,卸载磁盘
[root@csicn20db01 ~]# umount /Oracle_BAK/
umount.nfs: /Oracle_BAK: device is busy
umount.nfs: /Oracle_BAK: device is busy
如果出现device is buy
[root@csicn20db01 etc]# umount /Oracle_BAK/
umount.nfs: /Oracle_BAK: device is busy
umount.nfs: /Oracle_BAK: device is busy
可以使用强制断掉所有的dmsg(确保设备没有生产的数据写入)
[root@csicn20db01 etc]# fuser -km /Oracle_BAK/