

# Amazon EFS 集成问题排查
<a name="oracle-efs-integration.troubleshooting"></a>

您的 RDS for Oracle 数据库实例监控与 Amazon EFS 文件系统的连接。当监控检测到问题时，它可能会尝试更正问题并在 RDS 控制台中发布事件。有关更多信息，请参阅[查看 Amazon RDS 事件](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ListEvents.html)。

使用本部分中的信息帮助您诊断和修复在使用 Amazon EFS 集成时的常见问题。


| 通知 | 说明 | Action | 
| --- | --- | --- | 
| `The EFS for RDS Oracle instance {{instance_name}} isn't available on the primary host. NFS port 2049 of your EFS isn't reachable.` | 数据库实例无法与 EFS 文件系统通信。 | 请确保满足以下条件：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 
| `The EFS isn't reachable.` | 安装 `EFS_INTEGRATION` 选项时出错。 | 请确保满足以下条件：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 
| `The associated role with your DB instance wasn't found.` | 安装 `EFS_INTEGRATION` 选项时出错。 | 确保您已将 IAM 角色与 RDS for Oracle 数据库实例关联。 | 
| `The associated role with your DB instance wasn't found.` | 安装 `EFS_INTEGRATION` 选项时出错。RDS for Oracle 已从数据库快照中还原，`USE_IAM_ROLE` 选项设置为 `TRUE`。 | 确保您已将 IAM 角色与 RDS for Oracle 数据库实例关联。 | 
| `The associated role with your DB instance wasn't found.` | 安装 `EFS_INTEGRATION` 选项时出错。RDS for Oracle 是根据一个多合一的 CloudFormation 模板创建的，其 `USE_IAM_ROLE` 选项设置为 `TRUE`。 | 作为解决方法，请完成以下步骤：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 
| `PLS-00302: component 'CREATE_DIRECTORY_EFS' must be declared` | 当您使用不支持 Amazon EFS 的 RDS for Oracle 版本时，可能会发生此错误。 | 确保您使用的是 RDS for Oracle 数据库实例版本 19.0.0.0.ru-2022-07.rur-2022-07.r1 或更高版本。 | 
| `Read access of your EFS is denied. Check your file system policy.` | 您的数据库实例无法读取 EFS 文件系统。 | 确保您的 EFS 文件系统允许通过 IAM 角色或在 EFS 文件系统级别进行读取访问。 | 
| 不适用 | 您的数据库实例无法写入 EFS 文件系统。 | 执行以下步骤：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 