数据存储库事件日志 - FSx for Lustre
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

数据存储库事件日志

可以启用 CloudWatch Logs 日志记录,以记录有关使用自动导入、自动导出和数据存储库任务导入或导出文件时遭遇失败的信息。有关更多信息,请参阅使用 Amazon CloudWatch 日志进行登录

注意

当数据存储库任务失败时,Amazon FSx 还会将失败信息写入任务完成报告。有关完成报告中失败信息的更多信息,请参阅数据存储库任务失败故障排除

自动导入、自动导出和数据存储库任务可能由于多种原因而失败,包括下面列出的原因。有关查看这些日志的信息,请参阅查看日志

导入事件
错误代码 日志级别 日志消息 根本原因 完成报告中的错误代码
S3ImportListObjectError 错误 Failed to list S3 objects in S3 bucket bucket_name with prefix prefix. Amazon FSx 无法列出 S3 桶中的 S3 对象。如果 S3 桶策略没有为 Amazon FSx 提供足够的权限,则可能会发生这种情况。 不适用
S3ImportUnsupportedTierWarning 警告 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
S3ImportSymlinkInUnsupportedTierWarning 警告 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
S3ImportAccessDenied 错误 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:HeadObjects3:GetObject 操作的权限,才能从 S3 上关联的数据存储库导入。

对于导入任务,如果您的 S3 桶使用服务器端加密以及存储在 Amazon Key Management Service 中的客户托管密钥(SSE-KMS),则必须遵循使用服务器端加密的 Amazon S3 桶中的策略配置。

S3AccessDenied
S3ImportDeleteAccessDenied 错误 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 对象。 不适用
S3ImportObjectPathNotPosixCompliant 错误 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
S3ImportObjectTypeMismatch 错误 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
S3ImportDirectoryMetadataUpdateError 错误 Failed to update local directory metadata due to an internal error. 由于内部错误,无法导入目录元数据。 不适用
S3ImportObjectDeleted 错误 Failed to import S3 object with key key_value because it was not found in S3 bucket bucket_name.

Amazon FSx 无法导入文件元数据,因为数据存储库中不存在相应的对象。

S3FileDeleted
S3ImportBucketDoesNotExist 错误 Failed to import S3 object with key key_value in S3 bucket bucket_name due to bucket does not exist. 由于 S3 桶已不存在,Amazon FSx 无法自动将 S3 对象导入文件系统。 不适用
S3ImportDeleteBucketDoesNotExist 错误 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 对象的文件。 不适用
S3ImportDirectoryCreateError 错误 Failed to create local directory due to an internal error. 由于内部错误,Amazon FSx 无法自动导入文件系统上创建的目录。 不适用
NoDiskSpace 错误 Failed to import S3 object with key key_value in S3 bucket bucket_name because the file system is full. 创建文件或目录时,元数据服务器上的文件系统磁盘空间不足。 不适用
导出事件
错误代码 日志级别 日志消息 根本原因 完成报告中的错误代码
S3ExportInternalError 错误 Failed to export S3 object with key key_value in S3 bucket bucket_name due to an internal error. 由于内部错误,未导出对象。 INTERNAL_ERROR
S3ExportAccessDenied 错误 Failed to export file because access was denied to S3 object with key key_value in S3 bucket bucket_name.

执行数据存储库导出任务时访问 Amazon S3 遭拒绝。

对于导出任务,Amazon FSx 文件系统必须具有执行 s3:PutObject 操作的权限,才能导出到 S3 上关联的数据存储库。此权限在 AWSServiceRoleForFSxS3Access_fs-0123456789abcdef0 服务相关角色中授予。有关更多信息,请参阅使用 Amazon FSx 的服务相关角色

由于导出任务要求数据流出文件系统的 VPC,因此如果目标存储库的桶策略包含 aws:SourceVpcaws:SourceVpce IAM 全局条件键之一,则可能会发生此错误。

如果您的 S3 桶包含从与您的文件系统关联的 S3 桶账户不同的 Amazon Web Services 账户 上传的对象,则可以确保您的数据存储库任务可以修改 S3 元数据或覆盖 S3 对象,而不管是从哪个账户上传的这些对象。我们建议您为 S3 桶启用 S3 对象所有权功能。借助此功能,可强制上传以提供 --acl bucket-owner-full-control 标准 ACL,从而获得其他 Amazon Web Services 账户 上传到桶的新对象的所有权。可以通过在 S3 桶中选择桶拥有者优先选项来启用 S3 对象所有权。有关更多信息,请参阅《Amazon S3 用户指南》中的使用 S3 对象所有权控制已上传对象的所有权

S3AccessDenied
S3ExportPathSizeTooLong 错误 Failed to export file because the local file path size exceeds the maximum object key length supported by S3.

导出路径过长。S3 支持的最大对象键长度为 1024 个字符。

PathSizeTooLong
S3ExportFileSizeTooLarge 错误 Failed to export file because the file size exceeds the maximum supported S3 objects size. Amazon S3 支持的最大对象大小为 5TiB。 FileSizeTooLarge
S3ExportKMSKeyNotFound 错误 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. 由于找不到 Amazon KMS key,Amazon FSx 无法导出该文件。请确保使用与 S3 桶位于同一 Amazon Web Services 区域 的密钥。有关创建 KMS 密钥的更多信息,请参阅《Amazon Key Management Service 开发人员指南》中的创建密钥 N/A
S3ExportResourceBusy 错误 Failed to export file because it is being used by another process.

Amazon FSx 无法导出该文件,因为文件系统上的另一个客户端正在对其进行修改。可以在工作流程完成对文件的写入后重试该任务。

ResourceBusy
S3ExportLocalObjectReleaseWithoutS3Source 警告 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 无法导出该文件,因为该文件在文件系统上处于已发布状态。 不适用
S3ExportLocalObjectNotMatchDra 警告 Export skipped: local file does not belong to a data repository linked file system path. Amazon FSx 无法导出,因为对象不属于关联到数据存储库的文件系统路径。 不适用
InternalAutoExportError 错误 Automatic export encountered an internal error while exporting a file system object 由于内部(auto-export- 或 lustre-level)错误,导出失败。 不适用
S3CompletionReportUploadFailure 错误 Failed to upload data repository task completion report into bucket_name Amazon FSx 无法上传完成报告。 不适用
S3CompletionReportValidateFailure 错误 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 路径不属于关联的数据存储库。 不适用