当前位置: 首页 > article >正文

oracle ORA-27054报错处理

现象

在oracle执行expdp,rman备份,xtts的时候,由于没有足够的本地空间,只能使用到NFS的文件系统但有时候会出现如下报错

ORA-27054: NFS file system where the file is created or resides is not mounted with correct options

根据提示信息,很明确,是nfs的挂载参数有问题

现象排除测试

检查挂载点的权限,通过
尝试用oracle用户创建文件,通过
在多个节点上mount共享文件系统,通过

这些都通过后,可以确定不是权限的问题了

问题解决

对于不同的操作系统,有不同的要求
对于不同的数据库版本,有不同的处理方法

根据官方文档" Mount Options for Oracle files for RAC databases and Clusterware when used with NFS on NAS devices (Doc ID 359515.1)"中提示
文档解释:

  1. Binaries are the shared mount points where the Oracle Home and
    CRS_HOME are installed.(oracle软件安装在共享目录中的时候,需要的选项)
  2. Datafiles include Online Logs, Controlfile, and Datafiles(用于存放数据文件的时候挂载选项)
  3. For RMAN backup sets, image copies, and Data Pump dump files, the
    “NOAC” mount option should not be specified - that is because
    RMAN and Data Pump do not check this option and specifying this can
    adversely affect performance. Please check the following document
    for which RMAN options require NOAC mount option: RMAN backup types
    that require “NOAC” on NFS Mount Points (Doc ID 2108714.1)

在这里插入图片描述
在aix上挂载nfs的参数用于存放数据文件的参数

mount -v nfs -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,proto=tcp,cio 192.168.120.121:/vol_data1 /backup

在solorias上挂载nfs的参数

mount -F nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,vers=3,forcedirectio 192.168.120.121:/vol_data1 /backup

在linux上挂载nfs用于备份的参数

mount -t nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 192.168.120.121:/vol_data1 /backup

http://www.kler.cn/a/533543.html

相关文章:

  • 8.原型模式(Prototype)
  • 算法日记11:SC63(离散化)
  • 人工智能第2章-知识点与学习笔记
  • Docker使用指南(一)——镜像相关操作详解(实战案例教学,适合小白跟学)
  • 如何安全地管理Spring Boot项目中的敏感配置信息
  • Web - CSS3浮动定位与背景样式
  • 深入理解和使用定时线程池ScheduledThreadPoolExecutor
  • 智能编码在前端研发的创新应用
  • python爬取网页数据为json该用什么方法?
  • 验证工具:GVIM和VIM
  • java s7接收Byte字节,接收word转16位二进制
  • 当大模型遇上Spark:解锁大数据处理新姿势
  • docker Error response from daemon: Get “https://registry-1.docker.io/v2/ 的问题处理
  • AI工具如何辅助写文章(科研版)
  • 无缝切换?从Vue到React
  • PostIn简明安装教程(入门级)
  • 企业四要素如何用Java进行调用
  • 【多线程】线程池核心数到底如何配置?
  • 如何设置Jsoup爬虫的User-Agent?
  • 拉取本地的 Docker 镜像的三种方法
  • 解决DeepSeek服务器繁忙问题:本地部署与优化方案
  • windows下玩转vllm:vllm简介
  • 【怎么用系列】短视频戒除-1-对推荐算法进行干扰
  • 怎么让PDF文档变小一点?
  • 求分数序列和(信息学奥赛一本通-1078)
  • 【算法篇】贪心算法