rman在nfs文件系统上备份报错(NFS file system where the file is created or resides is not mounted with correct )

解决NFS文件系统备份报错:NFS file system where the file is created or resides is not mounted with correct options
本文介绍了在使用rman进行数据库备份时遇到的问题,错误提示为'NFS file system where the file is created or resides is not mounted with correct options'。通过检查磁盘状态,强制卸载并重新挂载NFS文件系统,并调整挂载参数,最终成功备份。

背景描述

使用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/


卸载磁盘

[root@csicn20db01 etc]# umount /Or

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值