本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
数据存储库事件日志
可以启用 CloudWatch Logs 日志记录,以记录有关使用导入、导出和数据存储库任务和恢复事件导入或导出文件时遭遇失败的信息。有关更多信息,请参阅 使用 Amazon CloudWatch Logs 进行日志记录。
注意
当数据存储库任务失败时,Amazon FSx 还会将失败信息写入任务完成报告。有关完成报告中失败信息的更多信息,请参阅数据存储库任务失败故障排除。
导入事件
| 错误类型 | 日志级别 | 日志消息 | 根本原因 | 完成报告中的错误代码 |
|---|---|---|---|---|
| 列出对象失败 | ERROR | Failed to list S3 objects in S3 bucket bucket_name with prefix prefix. |
Amazon FSx 无法列出 S3 桶中的 S3 对象。如果 S3 桶策略没有为 Amazon FSx 提供足够的权限,则可能会发生这种情况。 | 不适用 |
| 不支持的 S3 存储类别 | 警告 | Failed to import S3 object with key key_value in S3 bucket bucket_name due to an S3 object in an unsupported tier S3_tier_name. |
Amazon FSx 无法导入 S3 对象,因为该对象属于不支持的 Amazon S3 存储类,例如 S3 Glacier Flexible Retrieval 或 S3 Glacier Deep Archive 存储类。 |
S3ObjectInUnsupportedTier |
| 不支持的符号链接存储类别 | ERROR | Failed to import S3 object with key key_value in S3 bucket bucket_name due to an S3 symlink object in an unsupported tier S3_tier_name. |
Amazon FSx 无法导入符号链接对象,因为该对象属于不支持的 Amazon S3 存储类,例如 S3 Glacier Flexible Retrieval 或 S3 Glacier Deep Archive 存储类。 |
S3SymlinkInUnsupportedTier |
| S3 访问被拒 | ERROR | Failed to import S3 object with key key_value in S3 bucket bucket_name because access to the S3 object was denied. |
执行数据存储库导出导入任务时拒绝访问 Amazon S3。 对于导入任务,Amazon FSx 文件系统必须具有执行 对于导入任务,如果您的 S3 桶使用服务器端加密以及存储在 AWS Key Management Service 中的客户托管密钥(SSE-KMS),则必须遵循使用服务器端加密的 Amazon S3 桶中的策略配置。 |
S3AccessDenied |
| 删除访问被拒 | ERROR | Failed to delete local file for S3 object with key key_value in S3 bucket bucket_name because access to the S3 object was denied. |
自动导入时拒绝访问 S3 对象。 | 不适用 |
| 非 POSIX 兼容的对象 | ERROR | Failed to import S3 object with key key_value in S3 bucket bucket_name because S3 object is not POSIX compliant. |
Amazon S3 对象存在但无法导入,因为它不是 POSIX 兼容的对象。有关支持的 POSIX 元数据的信息,请参阅 针对数据存储库的 POSIX 元数据支持。 |
S3ObjectPathNotPosixCompliant |
| 对象类型不匹配 | ERROR | Failed to import S3 object with key key_value in S3 bucket bucket_name because an S3 object with the same name has already been imported into the file system. |
正在导入的 S3 对象与文件系统中同名的现有对象属于不同的类型(文件或目录)。 | S3ObjectTypeMismatch |
| 目录元数据更新失败 | ERROR | Failed to update local directory metadata due to an internal error. | 由于内部错误,无法导入目录元数据。 | 不适用 |
| 未找到 S3 对象 | ERROR | Failed to import S3 object with key key_value because it was not found in S3 bucket bucket_name. |
Amazon FSx 无法导入文件元数据,因为数据存储库中不存在相应的对象。 |
S3FileDeleted |
| 未找到 S3 存储桶 | ERROR | Failed to import S3 object with key key_value in S3 bucket bucket_name due to bucket does not exist. |
由于 S3 存储桶已不存在,Amazon FSx 无法自动将 S3 对象导入文件系统。 | 不适用 |
| 未找到 S3 存储桶 | ERROR | Failed to delete local file for S3 object with key key_value in S3 bucket bucket_name due to bucket does not exist. |
由于 S3 存储桶已不存在,Amazon FSx 无法删除链接到文件系统上 S3 对象的文件。 | 不适用 |
| 目录创建失败 | ERROR | Failed to create local directory due to an internal error. | 由于内部错误,Amazon FSx 无法自动导入文件系统上创建的目录。 | 不适用 |
| 磁盘空间已满 | ERROR | Failed to import S3 object with key key_value in S3 bucket bucket_name because the file system is full. |
创建文件或目录时,元数据服务器上的文件系统磁盘空间不足。 | 不适用 |
导出事件
| 错误类型 | 日志级别 | 日志消息 | 根本原因 | 完成报告中的错误代码 |
|---|---|---|---|---|
| 访问被拒绝 | ERROR | Failed to export file because access was denied to S3 object with key key_value in S3 bucket bucket_name. |
执行数据存储库导出任务时访问 Amazon S3 遭拒绝。 对于导出任务,Amazon FSx 文件系统必须具有执行 由于导出任务要求数据流出文件系统的 VPC,因此如果目标存储库的桶策略包含 如果您的 S3 桶包含从与您的文件系统关联的 S3 桶账户不同的 AWS 账户 上传的对象,则可以确保您的数据存储库任务可以修改 S3 元数据或覆盖 S3 对象,而不管是从哪个账户上传的这些对象。我们建议您为 S3 桶启用 S3 对象所有权功能。借助此功能,可强制上传以提供 |
S3AccessDenied |
| 导出路径过长 | ERROR | Failed to export file because the local file path size exceeds the maximum object key length supported by S3. | 导出路径过长。S3 支持的最大对象键长度为 1024 个字符。 |
PathSizeTooLong |
| 文件过大 | ERROR | Failed to export file because the file size exceeds the maximum supported S3 objects size. | Amazon S3 支持的最大对象大小为 5TiB。 | FileSizeTooLarge |
| 未找到 KMS 密钥。 | ERROR | Failed to export file for S3 object with key key_value in S3 bucket bucket_name because the bucket's KMS key was not found. |
由于找不到 AWS KMS key,Amazon FSx 无法导出该文件。请确保使用与 S3 桶位于同一 AWS 区域 的密钥。有关创建 KMS 密钥的更多信息,请参阅《AWS Key Management Service 开发人员指南》中的创建密钥。 | N/A |
| 资源繁忙 | ERROR | Failed to export file because it is being used by another process. | Amazon FSx 无法导出该文件,因为文件系统上的另一个客户端正在对其进行修改。可以在工作流程完成对文件的写入后重试该任务。 |
ResourceBusy |
| 文件已释放 | 警告 | Export skipped: Local file is in released state and a linked S3 object with key key_value was not found in bucket bucket_name. |
Amazon FSx 无法导出该文件,因为该文件在文件系统上处于已释放状态。 | 不适用 |
| 数据存储库路径不匹配 | 警告 | Export skipped: local file does not belong to a data repository linked file system path. | Amazon FSx 无法导出,因为对象不属于关联到数据存储库的文件系统路径。 | 不适用 |
| 内部故障 | ERROR | Automatic export encountered an internal error while exporting a file system object | 由于内部(auto-export- 或 lustre-level)错误,导出失败。 | 不适用 |
| 完成报告上传失败 | ERROR | Failed to upload data repository task completion report into bucket_name |
Amazon FSx 无法上传完成报告。 | 不适用 |
| 完成报告验证失败 | ERROR | Failed to upload data repository task completion report into bucket bucket_name because the completion report path report_path does not belong to a data repository associated with this file system |
Amazon FSx 无法上传完成报告,因为客户提供的 S3 路径不属于关联的数据存储库。 | 不适用 |
HSM 恢复事件
| 错误类型 | 日志级别 | 日志消息 | 根本原因 |
|---|---|---|---|
| 访问被拒绝 | ERROR | Failed to restore file because access was denied to S3 object object_name in S3 bucket bucket_name. |
尝试使用 HSM 命令恢复文件时,访问 Amazon S3 遭拒。文件系统必须具有执行 |
| 不支持的 S3 存储类别 | 警告 | Failed to restore file because S3 object object_name in bucket bucket_name was in an unsupported S3_storage_class _name. |
Amazon FSx 无法恢复文件,因为相应的 S3 对象属于不支持的 S3 存储类别,例如 S3 Glacier Flexible Retrieval 或 S3 Glacier Deep Archive。使用 |
| 未找到 S3 对象 | ERROR | Failed to restore file because S3 object with key key_value was not found in S3 bucket bucket_name. |
Amazon FSx 无法恢复文件,因为数据存储库中不存在相应的 S3 对象。 |
| 未找到 S3 存储桶 | ERROR | Failed to restore file because S3 bucket bucket_name does not exist. |
Amazon FSx 无法恢复文件,因为关联的 S3 存储桶不再存在。 |
| 磁盘空间已满 | ERROR | Failed to restore file because there was no available storage space on the file system. | 尝试从 S3 恢复文件数据时,文件系统的可用存储空间不足。考虑增加文件系统的存储容量,或释放文件以释放空间。 |